blob: df54884a74bd7ae29355889cbc405b46785cd8e7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
# First we move all our gear into place - a noble move!
RPMDIR=`rpm --showrc | awk '/^rpmdir/ { print $3}'`
SPECDIR=`rpm --showrc | awk '/^specdir/ { print $3}'`
SRCDIR=`rpm --showrc | awk '/^sourcedir/ { print $3}'`
cp -a *.spec $SPECDIR
cp -a *.patch smb.* samba.log $SRCDIR
cd $SPECDIR
rpm --clean -ba samba.spec
|