summaryrefslogtreecommitdiff
path: root/examples/redhat/makerpms.sh
blob: 44a5838b52eab0f9a240fa02f5387887f1303389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# First we move all our gear into place - a noble move!
RPMDIR=/usr/src/redhat
cp -a *.spec $RPMDIR/SPECS
cp -a *.patch smb.* samba.log $RPMDIR/SOURCES
# cp -a ../../../samba-1.9.16p11.tar.gz $RPMDIR/SOURCES
cd $RPMDIR/SOURCES
rm -rf samba-1.9.16p11
cd $RPMDIR/SPECS
rpm -ba -v samba-1.9.16p11.spec
#cd ..
#mkdir $RPMDIR/distrib
#cp -avf RPMS SRPMS distrib