diff options
Diffstat (limited to 'packaging/PHT/TurboLinux/makerpms.sh.tmpl')
-rw-r--r-- | packaging/PHT/TurboLinux/makerpms.sh.tmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/PHT/TurboLinux/makerpms.sh.tmpl b/packaging/PHT/TurboLinux/makerpms.sh.tmpl new file mode 100644 index 0000000000..c389bf1a68 --- /dev/null +++ b/packaging/PHT/TurboLinux/makerpms.sh.tmpl @@ -0,0 +1,14 @@ +#!/bin/sh +# Copyright (C) 1998 John H Terpstra, 1999 K Spoon +# +SPECDIR=/usr/src/turbo/SPECS +SRCDIR=/usr/src/turbo/SOURCES +USERID=`id -u` +GRPID=`id -g` + +( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-PVERSION ) +( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION ) +cp -a *.spec $SPECDIR +cp -a *.patch smb.* samba.log $SRCDIR +cd $SPECDIR +rpm -ba -v samba2.spec |