root/branch/RHEL5-stig/rpmify

Revision 76, 396 bytes (checked in by zcutlip, 2 years ago)

copy source rpm to ./RPM/

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 VERSION="2.0"
4 RELEASE="1"
5 ARCH=$(uname -i)
6 tar --exclude="*.svn*" -czvf RPM/clip-$VERSION-$RELEASE.tar.gz pam_tally3/ conf/ kickstart/ scripts/ man/ Makefile
7 sudo cp RPM/clip-$VERSION-$RELEASE.tar.gz /usr/src/redhat/SOURCES
8 sudo rpmbuild -ba RPM/clip.spec
9 cp /usr/src/redhat/RPMS/$ARCH/clip-$VERSION-$RELEASE.$ARCH.rpm RPM/
10 cp /usr/src/redhat/SRPMS/clip-$VERSION-$RELEASE.src.rpm RPM/
Note: See TracBrowser for help on using the browser.