summaryrefslogtreecommitdiff
path: root/packaging/RedHat
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-06-06 22:56:03 +0000
committerGerald Carter <jerry@samba.org>2003-06-06 22:56:03 +0000
commit11c0ac65669dabc15e73cd2b18dca3b9e4bd3997 (patch)
tree69fb10f377e539c400355eee8f4ef5b2cd888975 /packaging/RedHat
parent93867b77735c3d729793cf10fd3bed43022e6e06 (diff)
downloadsamba-11c0ac65669dabc15e73cd2b18dca3b9e4bd3997.tar.gz
samba-11c0ac65669dabc15e73cd2b18dca3b9e4bd3997.tar.bz2
samba-11c0ac65669dabc15e73cd2b18dca3b9e4bd3997.zip
pMandrake/samba2.spec.tmplackaging updates (Buchan)
(This used to be commit 73aca1443a0cc6affbe24f869309b119b9556785)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/makerpms.sh.tmpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl
index 5daf508de8..dc82033b06 100644
--- a/packaging/RedHat/makerpms.sh.tmpl
+++ b/packaging/RedHat/makerpms.sh.tmpl
@@ -43,13 +43,14 @@ case $RPMVER in
echo Building for RPM v3.x
sed -e "s/MANDIR_MACRO/\%\{prefix\}\/man/g" < samba.spec > $SPECFILE
;;
- 4.1*)
- echo Building for RPM v4.1
- RPM="rpmbuild"
+ 4.0*)
+ ## catch rpm v4.0.x first
+ echo Building for RPM v4.0
sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba.spec > $SPECFILE
;;
- 4*)
- echo Building for RPM v4.x
+ 4.*)
+ echo Building for RPM v4.1 or later
+ RPM="rpmbuild"
sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba.spec > $SPECFILE
;;
*)