Added init_nt_time function which initialises an NTTIME to -1.
[samba.git] / packaging / Caldera / makerpms.sh.tmpl
1 #!/bin/sh
2 # Copyright (C) John H Terpstra 1998
3 #
4 RPMDIR=`rpm --showrc | awk '/^rpmdir/ { print $3}'`
5 SPECDIR=`rpm --showrc | awk '/^specdir/ { print $3}'`
6 SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'`
7
8 ( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION )
9 cp -a *.spec $SPECDIR
10 cp -a *.patch smb.* samba.log $SRCDIR
11 cd $SRCDIR
12 chown -R root.root samba-PVERSION
13 cd $SPECDIR
14 rpm -ba -v samba2.spec