diff options
author | John Terpstra <jht@samba.org> | 1998-10-25 09:12:42 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 1998-10-25 09:12:42 +0000 |
commit | ec73178649c03695a07c0c57292aa802e9ebd61a (patch) | |
tree | 5eac91992ef729a1fcc68aa573d5feb12a1d4d6b /packaging/PHT/TurboLinux/makerpms.sh.tmpl | |
parent | 9d8c5c3f760b7e3f9b6bf1a63073de138809735a (diff) | |
download | samba-ec73178649c03695a07c0c57292aa802e9ebd61a.tar.gz samba-ec73178649c03695a07c0c57292aa802e9ebd61a.tar.xz samba-ec73178649c03695a07c0c57292aa802e9ebd61a.zip |
Welcome to Pacific HiTech TurboLinux support.
(This used to be commit 230c42ab64aafb69313d5a8f9773bbd2bc6d47f9)
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..fa69370dff --- /dev/null +++ b/packaging/PHT/TurboLinux/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 |