From 11c0ac65669dabc15e73cd2b18dca3b9e4bd3997 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 6 Jun 2003 22:56:03 +0000 Subject: pMandrake/samba2.spec.tmplackaging updates (Buchan) (This used to be commit 73aca1443a0cc6affbe24f869309b119b9556785) --- packaging/RedHat/makerpms.sh.tmpl | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'packaging/RedHat') 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 ;; *) -- cgit