From e1231a249380d35833c3181fcd19e302df89d0f7 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 29 Aug 2003 18:55:30 +0000 Subject: make changes in the template, not the generated files... :-( (This used to be commit 9e404772811ab0c88afbface2252df2e75c5e1ba) --- packaging/RedHat/makerpms.sh.tmpl | 4 ++++ 1 file changed, 4 insertions(+) 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 ;; -- cgit