]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- note packages with epoch
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 21 Aug 2010 16:16:14 +0000 (16:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.55

pearize.sh

index 58a38b24ab3e187fa06011aaa68c7ce976fe66a0..481a8dcc943842aa3b941c5052e838bcf25b5ea6 100644 (file)
@@ -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
@@ -223,6 +228,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
 
 diff=$(mktemp "${TMPDIR:-/tmp}/fragXXXXXX")
This page took 0.042982 seconds and 4 git commands to generate.