]> git.ipfire.org Git - thirdparty/cups.git/blob - tools/testrpm
Load cups into easysw/current.
[thirdparty/cups.git] / tools / testrpm
1 #!/bin/sh
2 #
3 # "$Id$"
4 #
5 # Test script for making RPMs...
6 #
7
8 # Make sure we are running in the right directory...
9 if test ! -f tools/testrpm; then
10 echo "Run this script from the top-level CUPS source directory, e.g.:"
11 echo ""
12 echo " tools/testrpm"
13 echo ""
14 exit 1
15 fi
16
17 # Get a snapshot of the current source...
18 . tools/makesrcdist
19
20 # Build the RPM...
21 echo Building rpm...
22 rm -f /usr/src/redhat/RPMS/i386/cups*.rpm
23 rm -f /usr/src/redhat/SRPMS/cups*.rpm
24 rpmbuild -ta cups-$fileversion-source.tar.bz2
25
26 #
27 # End of "$Id$".
28 #