diff options
Diffstat (limited to 'packaging/Caldera/makerpms.sh.tmpl')
-rw-r--r-- | packaging/Caldera/makerpms.sh.tmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/Caldera/makerpms.sh.tmpl b/packaging/Caldera/makerpms.sh.tmpl new file mode 100644 index 00000000000..fa69370dff0 --- /dev/null +++ b/packaging/Caldera/makerpms.sh.tmpl @@ -0,0 +1,14 @@ +#!/bin/sh +# Copyright (C) John H Terpstra 1998 +# +RPMDIR=`rpm --showrc | awk '/^rpmdir/ { print $3}'` +SPECDIR=`rpm --showrc | awk '/^specdir/ { print $3}'` +SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'` + +( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION ) +cp -a *.spec $SPECDIR +cp -a *.patch smb.* samba.log $SRCDIR +cd $SRCDIR +chown -R root.root samba-PVERSION +cd $SPECDIR +rpm -ba -v samba2.spec |