summaryrefslogtreecommitdiff
path: root/packaging/RedHat/makerpms.sh.tmpl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-03-04 19:55:04 +0000
committerGerald Carter <jerry@samba.org>2003-03-04 19:55:04 +0000
commitaf6b467d398adf432f6dde5eb7cbfd24fa6818b6 (patch)
tree5f3df9a690ae11e860dc8746cda3c5d78901858b /packaging/RedHat/makerpms.sh.tmpl
parent7c03402c8ad55ba3ce16bfe1725617037b908c0a (diff)
downloadsamba-af6b467d398adf432f6dde5eb7cbfd24fa6818b6.tar.gz
samba-af6b467d398adf432f6dde5eb7cbfd24fa6818b6.tar.bz2
samba-af6b467d398adf432f6dde5eb7cbfd24fa6818b6.zip
make sure to call autogen.sh
(This used to be commit 7558ee9d47beab11099d0a9d89b2e74dc58c9935)
Diffstat (limited to 'packaging/RedHat/makerpms.sh.tmpl')
-rw-r--r--packaging/RedHat/makerpms.sh.tmpl4
1 files changed, 0 insertions, 4 deletions
diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl
index 9d71452db8..3c4ff40ddc 100644
--- a/packaging/RedHat/makerpms.sh.tmpl
+++ b/packaging/RedHat/makerpms.sh.tmpl
@@ -37,23 +37,19 @@ case $RPMVER in
2*)
echo Building for RPM v2.x
sed -e "s/MANDIR_MACRO/\%\{prefix\}\/man/g" < samba2.spec > samba.spec
- sed -e "s/MANDIR_MACRO/\%\{prefix\}\/man/g" < samba2-devel.spec > samba-devel.spec
;;
3*)
echo Building for RPM v3.x
sed -e "s/MANDIR_MACRO/\%\{prefix\}\/man/g" < samba2.spec > samba.spec
- sed -e "s/MANDIR_MACRO/\%\{prefix\}\/man/g" < samba2-devel.spec > samba-devel.spec
;;
4.1*)
echo Building for RPM v4.1
RPM="rpmbuild"
sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba2.spec > samba.spec
- sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba2-devel.spec > samba-devel.spec
;;
4*)
echo Building for RPM v4.x
sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba2.spec > samba.spec
- sed -e "s/MANDIR_MACRO/\%\{_mandir\}/g" < samba2-devel.spec > samba-devel.spec
;;
*)
echo "Unknown RPM version: `rpm --version`"