diff --git a/src/packaging/RedHat/makesrpm.pl b/src/packaging/RedHat/makesrpm.pl index 7a238f3639..c46e99473d 100755 --- a/src/packaging/RedHat/makesrpm.pl +++ b/src/packaging/RedHat/makesrpm.pl @@ -159,7 +159,8 @@ if ($changelog) { } # Build an RPM -system("rpmbuild -bs --define \"dist %undefined\" ". +system("rpmbuild -bs --nodeps --define \"dist %undefined\" ". + "--define \"build_modules 0\" ". "--define \"_topdir $tmpdir/rpmdir\" ". "$tmpdir/rpmdir/SPECS/openafs.spec > /dev/null") == 0 or die "rpmbuild failed : $!\n";