SOURCES: rpm-specdump.c - remove hack remains, rpmbuild sample

glen glen at pld-linux.org
Wed Jan 23 02:34:30 CET 2008


Author: glen                         Date: Wed Jan 23 01:34:30 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove hack remains, rpmbuild sample

---- Files affected:
SOURCES:
   rpm-specdump.c (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/rpm-specdump.c
diff -u SOURCES/rpm-specdump.c:1.3 SOURCES/rpm-specdump.c:1.4
--- SOURCES/rpm-specdump.c:1.3	Wed Jan 23 02:29:50 2008
+++ SOURCES/rpm-specdump.c	Wed Jan 23 02:34:25 2008
@@ -40,14 +40,22 @@
  *
  * And with NoSource: 1, NoSource: 2
  *
- *  $ ../test/rpm-specdump ./ZendDebugger.spec
+ *  $ rpmbuild --nodigest --nosignature --nobuild -bp --define 'prep %{echo:dummy: PACKAGE_NAME %{name} }%dump' ZendDebugger.spec 2>&1 | awk '$2 ~ /^SOURCEURL/ {print} $2 ~ /^PATCHURL/  {print} $2 ~ /^nosource/ {print} $2 ~ /^PACKAGE_/ {print}'
+ *  dummy: PACKAGE_NAME ZendDebugger ========================
+ *   -2: PACKAGE_RELEASE    0.4
+ *   -1: PACKAGE_VERSION    5.2.10
+ *   -3: SOURCEURL0 http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.10-linux-glibc21-i386.tar.gz
+ *   -3: SOURCEURL1 http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.10-linux-glibc23-x86_64.tar.gz
+ *   -3: nosource   1
+ *
+ *  $ rpm-specdump ZendDebugger.spec
  *  h PACKAGE_NAME ZendDebugger
  *  h PACKAGE_VERSION 5.2.10
  *  h PACKAGE_RELEASE 0.4
- *  s SOURCE1 /home/glen/rpm/pld/SOURCES!/ZendDebugger-5.2.10-linux-glibc23-x86_64.tar.gz
+ *  s SOURCE1 /home/glen/rpm/pld/SOURCES/ZendDebugger-5.2.10-linux-glibc23-x86_64.tar.gz
  *  s SOURCEURL1 http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.10-linux-glibc23-x86_64.tar.gz
  *  s nosource 1
- *  s SOURCE0 /home/glen/rpm/pld/SOURCES!/ZendDebugger-5.2.10-linux-glibc21-i386.tar.gz
+ *  s SOURCE0 /home/glen/rpm/pld/SOURCES/ZendDebugger-5.2.10-linux-glibc21-i386.tar.gz
  *  s SOURCEURL0 http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.10-linux-glibc21-i386.tar.gz
  *  s nosource 0
  *
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-specdump.c?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list