SPECS: builder - take only first NEVR (see http://permalink.gmane....
glen
glen at pld-linux.org
Mon Mar 5 18:07:43 CET 2007
Author: glen Date: Mon Mar 5 17:07:43 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- take only first NEVR (see http://permalink.gmane.org/gmane.linux.pld.devel.english/3836 thread)
---- Files affected:
SPECS:
builder (1.488 -> 1.489)
---- Diffs:
================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.488 SPECS/builder:1.489
--- SPECS/builder:1.488 Mon Mar 5 17:40:03 2007
+++ SPECS/builder Mon Mar 5 18:07:37 2007
@@ -510,9 +510,9 @@
PATCHES="`rpm_dump | awk '/PATCHURL[0-9]+/ {print $3}'`"
ICONS="`awk '/^Icon:/ {print $2}' ${SPECFILE}`"
- PACKAGE_NAME=$(rpm_dump | awk '$2 == "PACKAGE_NAME" { print $3}')
- PACKAGE_VERSION=$(rpm_dump | awk '$2 == "PACKAGE_VERSION" { print $3}')
- PACKAGE_RELEASE=$(rpm_dump | awk '$2 == "PACKAGE_RELEASE" { print $3}')
+ PACKAGE_NAME=$(rpm_dump | awk '$2 == "PACKAGE_NAME" { print $3; exit}')
+ PACKAGE_VERSION=$(rpm_dump | awk '$2 == "PACKAGE_VERSION" { print $3; exit}')
+ PACKAGE_RELEASE=$(rpm_dump | awk '$2 == "PACKAGE_RELEASE" { print $3; exit}')
if [ -n "$BE_VERBOSE" ]; then
echo "- Sources : `nourl $SOURCES`"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/builder?r1=1.488&r2=1.489&f=u
More information about the pld-cvs-commit
mailing list