blob: 8f7b06235b1a2853932ac4b15f88b2956af52590 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# Copyright (C) 1998 John H Terpstra, 2000 Klaus Singvogel
#
SPECDIR=/usr/src/OpenLinux/SPECS
SRCDIR=/usr/src/OpenLinux/SOURCES
USERID=`id -u`
GRPID=`id -g`
( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba )
( cd ../../../.. ; tar czvf ${SRCDIR}/samba.tar.gz samba-PVERSIONPRELEASE )
cp -a *.spec $SPECDIR
cp -a *.patch smb.* samba.* make* find* convert* updates* $SRCDIR
cd $SPECDIR
rpm -ba -v samba3.spec
|