common cvs-import.sh,1.10,1.11
Jeremy Katz (katzj)
fedora-extras-commits at redhat.com
Mon Jun 19 20:43:15 UTC 2006
Author: katzj
Update of /cvs/extras/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27184
Modified Files:
cvs-import.sh
Log Message:
patch from robert scheck to not use obsolete rpm tags (#195792)
Index: cvs-import.sh
===================================================================
RCS file: /cvs/extras/common/cvs-import.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- cvs-import.sh 14 Oct 2005 18:26:06 -0000 1.10
+++ cvs-import.sh 19 Jun 2006 20:43:15 -0000 1.11
@@ -94,8 +94,8 @@
exit -2
fi
NVR=$(rpm -qp --qf "%{NAME}-%{VERSION}-%{RELEASE}" $PACKAGE 2>/dev/null)
- SRCRPM=$(rpm -qp --qf "%{SOURCEPACKAGE}" $PACKAGE 2>/dev/null)
- if [ -z "$NVR" -o "$SRCRPM" != "1" ] ; then
+ SRCRPM=$(rpm -qp --qf "%{SOURCERPM}" $PACKAGE 2>/dev/null)
+ if [ -z "$NVR" -o "$SRCRPM" != "(none)" ] ; then
echo "ERROR: Package $PACKAGE does not look like a source RPM package"
Usage
exit -3
More information about the fedora-extras-commits
mailing list