]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- comment why installed packages are needed
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Apr 2006 12:17:46 +0000 (12:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.37

pearize.sh

index 1924b9cf4649eea93e6444ca81696278933ce230..a34ff593eabc9165a81122ee93e461ce5656ff13 100644 (file)
@@ -5,7 +5,7 @@
 # script. i'd be just glad :)
 #
 # needs 'pear' for 'pear makerpm' command, ./builder for fetching sources.
-# You should have all PEAR packages installed to get best results.
+# You should have all PEAR packages installed to get best results (needed for epoch autodetection)
 #
 # todo: adjust similiarily noautoreqdeps
 # bugs: the beta portions in version deps could be wrong (php-4.3.0b1 and alike)
@@ -114,6 +114,7 @@ if [ -n "$optional" ]; then
                for req in $dep; do
                        m=$(grep "^%define.*_noautoreq" $spec | grep -o "$req" || :)
                        if [ -z "$m" ]; then
+                               # FIXME: fails if _noautoreq is not present
                                sed -i -e "/^%define.*_noautoreq/s,$, $req," $spec
                        fi
                done
This page took 0.027547 seconds and 4 git commands to generate.