blob: cdea6b140e536dee9786120c6c813221469daa8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Copyright (C) 1998 John H Terpstra, 1999 K Spoon
#
SPECDIR=/usr/src/RPM/SPECS
SRCDIR=/usr/src/RPM/SOURCES
USERID=`id -u`
GRPID=`id -g`
( cd ../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba )
( cd ../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba )
cp -a *.spec $SPECDIR
cp -a *.patch smb.* samba.log $SRCDIR
cd $SPECDIR
rpm -ba -v samba2.spec
|