summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2001-04-28 21:31:42 +0000
committerJohn Terpstra <jht@samba.org>2001-04-28 21:31:42 +0000
commitb1e6176edef398133eb2a070cc0ae6713510023a (patch)
treee34448dec1c44b2f4ef664eca358e13293f3bbe8 /packaging
parent08fa6acaaf847c55fc82f126dae128d251e9be8d (diff)
downloadsamba-b1e6176edef398133eb2a070cc0ae6713510023a.tar.gz
samba-b1e6176edef398133eb2a070cc0ae6713510023a.tar.xz
samba-b1e6176edef398133eb2a070cc0ae6713510023a.zip
Updating to allow developer mode packaging.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/Caldera/OpenLinux/makerpms.sh.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/Caldera/OpenLinux/makerpms.sh.tmpl b/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
index 5166db9b768..fda8545df78 100644
--- a/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
+++ b/packaging/Caldera/OpenLinux/makerpms.sh.tmpl
@@ -6,8 +6,14 @@ SRCDIR=${SRCDIR:-/usr/src/OpenLinux/SOURCES}
USERID=`id -u`
GRPID=`id -g`
-( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba )
-( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION-PRELEASE.tar.gz samba )
+if ( z$1 == "zdevel" ) then
+ ( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba; mv samba samba-PVERSION )
+ ( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERIONS; mv samba-PVERSION samba )
+else
+ ( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-PVERSION )
+ ( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION )
+done
+
cp -a *.spec *.spec-lsb $SPECDIR
for src in *.patch; do
trg=`echo $src | sed 's;xxxxxx;PVERSION;'`