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