JHT ===> Still mucking around with RPM building for RedHat Linux
[kai/samba.git] / examples / redhat / makerpms.sh
1 #!/bin/sh
2 # First we move all our gear into place - a noble move!
3 RPMDIR=/usr/src/redhat
4 cp -a *.spec $RPMDIR/SPECS
5 cp -a *.patch smb.* samba.log $RPMDIR/SOURCES
6 # cp -a ../../../samba-1.9.16p11.tar.gz $RPMDIR/SOURCES
7 cd $RPMDIR/SOURCES
8 rm -rf samba-1.9.16p11
9 cd $RPMDIR/SPECS
10 rpm -ba -v samba-1.9.16p11.spec
11 #cd ..
12 #mkdir $RPMDIR/distrib
13 #cp -avf RPMS SRPMS distrib