packages: pearize.sh - note packages with epoch

glen glen at pld-linux.org
Sat Aug 21 18:16:19 CEST 2010


Author: glen                         Date: Sat Aug 21 16:16:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- note packages with epoch

---- Files affected:
packages:
   pearize.sh (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: packages/pearize.sh
diff -u packages/pearize.sh:1.54 packages/pearize.sh:1.55
--- packages/pearize.sh:1.54	Sat Aug 21 13:19:23 2010
+++ packages/pearize.sh	Sat Aug 21 18:16:14 2010
@@ -6,6 +6,11 @@
 #
 # needs 'pear' for 'pear make-rpm-spec' command, ./builder for fetching sources.
 # You should have all PEAR packages installed to get best results (needed for epoch autodetection)
+# So far there are 3 packages with epoch > 0:
+# $ grep ^Epoch:.* php-pear-*.spec | grep -v 'Epoch:.*0'
+# php-pear-MDB2.spec:Epoch:               1
+# php-pear-MDB.spec:Epoch:                1
+# php-pear-PEAR.spec:Epoch:               1
 #
 # To create completely new PEAR package spec, follow something like this:
 # $ pear download RDF-alpha
@@ -222,6 +227,10 @@
 sed -i -e "/^%define.*_status/{
 	/%define.*_status.*$state/!s/.*/%define\t\t_status\t\t$state/
 }" $spec
+
+# parse license
+#license=$(awk '/^License:/{print $2}' $template)
+#sed -i -e "s/^License:.*/License:\t$license/" $spec
 
 rm -f $preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pearize.sh?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list