summaryrefslogtreecommitdiff
path: root/examples/redhat/makerpms.sh
blob: e94bea05ca0490d5c05ba322fd6c6fcd12d27615 (plain)
1
2
3
4
5
6
7
8
9
#!/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
cd $RPMDIR/SOURCES
rm -rf samba-1.9.17a1
cd $RPMDIR/SPECS
rpm -ba -v samba-1.9.17a1.spec