diff options
Diffstat (limited to 'packaging/RedHat')
-rw-r--r-- | packaging/RedHat/makerpms.sh.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl index 92037c75c1..7e927907ae 100644 --- a/packaging/RedHat/makerpms.sh.tmpl +++ b/packaging/RedHat/makerpms.sh.tmpl @@ -50,6 +50,10 @@ case $RPMVER in ;; 4.*) echo Building for RPM v4.1 or later + ## we can do a little better here on the spec and + ## source directories + SPECDIR=`rpm -E %_specdir` + SOURCEDIR=`rpm -E %_sourcedir` RPM="rpmbuild" sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba.spec > $SPECFILE ;; |