summaryrefslogtreecommitdiff
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
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)
-rw-r--r--packaging/RedHat/makerpms.sh.tmpl4
-rw-r--r--packaging/RedHat/samba2.spec.tmpl1
2 files changed, 1 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`"
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index 638df4f2cc..830a9312fd 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -46,6 +46,7 @@ autoconf
EXTRA="-D_LARGEFILE64_SOURCE"
%endif
NUMCPU=`grep processor /proc/cpuinfo | wc -l`
+./autogen.sh
CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
--prefix=%{prefix} \
--localstatedir=/var \