Files
rk35xx-android14/external/libcups/scripts/makerpm
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

27 lines
650 B
Bash
Executable File

#!/bin/sh -x
#
# Test script for making RPMs...
#
# Make sure we are running in the right directory...
if test ! -f scripts/makerpm; then
echo "Run this script from the top-level CUPS source directory, e.g.:"
echo ""
echo " scripts/makerpm [rpmbuild options]"
echo ""
exit 1
fi
# Strip command-line arguments so we don't create a release tag...
args="$*"
shift $#
# Get a snapshot of the current source...
. scripts/makesrcdist
# Build the RPM...
echo Building rpm...
#rm -f /usr/src/redhat/RPMS/i386/cups*.rpm
#rm -f /usr/src/redhat/SRPMS/cups*.rpm
rpmbuild -ta $args cups-${fileversion}-source.tar.gz