mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
431d0dca73
(This used to be commit 6e3b8a62b9
)
15 lines
398 B
Bash
15 lines
398 B
Bash
#!/bin/sh
|
|
# Copyright (C) 1998 John H Terpstra, 1999 K Spoon
|
|
#
|
|
SPECDIR=/usr/src/turbo/SPECS
|
|
SRCDIR=/usr/src/turbo/SOURCES
|
|
USERID=`id -u`
|
|
GRPID=`id -g`
|
|
|
|
( cd ../../../.. ; chown -R ${USERID}.${GRPID} ${SRCDIR}/samba-PVERSION )
|
|
( cd ../../../.. ; tar czvf ${SRCDIR}/samba-PVERSION.tar.gz samba-PVERSION )
|
|
cp -a *.spec $SPECDIR
|
|
cp -a *.patch smb.* samba.log $SRCDIR
|
|
cd $SPECDIR
|
|
rpm -ba -v samba2.spec
|