SPECS: pearize.sh - comment why installed packages are needed
glen
glen at pld-linux.org
Sun Apr 2 14:17:51 CEST 2006
Author: glen Date: Sun Apr 2 12:17:51 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- comment why installed packages are needed
---- Files affected:
SPECS:
pearize.sh (1.36 -> 1.37)
---- Diffs:
================================================================
Index: SPECS/pearize.sh
diff -u SPECS/pearize.sh:1.36 SPECS/pearize.sh:1.37
--- SPECS/pearize.sh:1.36 Sun Apr 2 14:09:52 2006
+++ SPECS/pearize.sh Sun Apr 2 14:17:46 2006
@@ -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 @@
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
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pearize.sh?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list