]> git.ipfire.org Git - thirdparty/cups.git/blame - scripts/makerpm
Update .gitignore to ignore compressed man pages.
[thirdparty/cups.git] / scripts / makerpm
CommitLineData
2b7e87a3 1#!/bin/sh -x
37a8aac2
MS
2#
3# Test script for making RPMs...
4#
5
6# Make sure we are running in the right directory...
7if test ! -f tools/testrpm; then
8 echo "Run this script from the top-level CUPS source directory, e.g.:"
9 echo ""
10 echo " tools/testrpm [rpmbuild options]"
11 echo ""
12 exit 1
13fi
14
15# Strip command-line arguments so we don't create a release tag...
16args="$*"
17shift $#
18
19# Get a snapshot of the current source...
20. tools/makesrcdist
21
22# Build the RPM...
23echo Building rpm...
24#rm -f /usr/src/redhat/RPMS/i386/cups*.rpm
25#rm -f /usr/src/redhat/SRPMS/cups*.rpm
2b7e87a3 26rpmbuild -ta $args cups-${fileversion}-source.tar.gz