]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - pearize.sh
- comment why installed packages are needed
[packages/rpm-build-tools.git] / 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.064351 seconds and 4 git commands to generate.