summaryrefslogtreecommitdiff
path: root/packaging/RedHat/samba2.spec.tmpl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-29 15:54:26 +0000
committerGerald Carter <jerry@samba.org>2003-04-29 15:54:26 +0000
commitbed55df612863d6051bfa26fd34f5ed38c8db166 (patch)
treecca5b8512102aeda352e0b2e4c93facb4f6c56ea /packaging/RedHat/samba2.spec.tmpl
parentada60ce8a28e969b1ab888d41404755628d59426 (diff)
downloadsamba-bed55df612863d6051bfa26fd34f5ed38c8db166.tar.gz
samba-bed55df612863d6051bfa26fd34f5ed38c8db166.tar.bz2
samba-bed55df612863d6051bfa26fd34f5ed38c8db166.zip
remove 'devel' option to makerpms.sh.tmpl since we don't use it n the RH packaging anymore and make sure to run autogen.sh if configure doesn't exist (make building from CVS easier)
(This used to be commit bfcdd769f5fd008bf8113c4fe82c3791bd354398)
Diffstat (limited to 'packaging/RedHat/samba2.spec.tmpl')
-rw-r--r--packaging/RedHat/samba2.spec.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index 408ea16a9f..a3c603c12a 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -47,6 +47,9 @@ autoconf
EXTRA="-D_LARGEFILE64_SOURCE"
%endif
NUMCPU=`grep processor /proc/cpuinfo | wc -l`
+if [ ! -f "configure" ]; then
+ ./autogen.sh
+fi
CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \
--prefix=%{prefix} \
--localstatedir=/var \