Include /usr/sbin on the $PATH (for RHEL 5).

This commit is contained in:
Richard Jones
2009-05-07 16:58:49 +01:00
parent c0beb26a0b
commit fd2eccd2ef

View File

@@ -256,6 +256,10 @@ createrepo repo
--enable-debug-command \
%{extra}
# This ensures that /usr/sbin/chroot is on the path. Not needed
# except for RHEL 5, it shouldn't do any harm on other platforms.
export PATH=/usr/sbin:$PATH
# 'INSTALLDIRS' ensures that perl libs are installed in the vendor dir
# not the site dir.
make INSTALLDIRS=vendor %{?_smp_mflags}