diff options
author | Gerald Carter <jerry@samba.org> | 2001-04-19 21:01:47 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-04-19 21:01:47 +0000 |
commit | 186436e4e78cfa46baa20b046d47a5f30326f55a (patch) | |
tree | c09d7b5b1300ec7181636d1e7f3c578a793b75d3 | |
parent | daaf8c1b5b730d1685cdac3f546e32699116a17b (diff) | |
download | samba-186436e4e78cfa46baa20b046d47a5f30326f55a.tar.gz samba-186436e4e78cfa46baa20b046d47a5f30326f55a.tar.xz samba-186436e4e78cfa46baa20b046d47a5f30326f55a.zip |
fix so that we tar up right version after a release. Lacked PVERSION
in the script
-rw-r--r-- | packaging/Mandrake/makerpms.sh.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/Mandrake/makerpms.sh.tmpl b/packaging/Mandrake/makerpms.sh.tmpl index cdea6b140e5..824c3f595a5 100644 --- a/packaging/Mandrake/makerpms.sh.tmpl +++ b/packaging/Mandrake/makerpms.sh.tmpl @@ -5,9 +5,10 @@ SPECDIR=/usr/src/RPM/SPECS SRCDIR=/usr/src/RPM/SOURCES USERID=`id -u` GRPID=`id -g` +VERSION='PVERSION' -( cd ../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba ) -( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba ) +( cd ../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-$VERSION ) +( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-$VERSION ) cp -a *.spec $SPECDIR cp -a *.patch smb.* samba.log $SRCDIR cd $SPECDIR |