Author: glen                         Date: Thu Aug 19 13:06:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- skip apostrophes in _noautoreq

---- Files affected:
packages:
   pearize.sh (1.44 -> 1.45) 

---- Diffs:

================================================================
Index: packages/pearize.sh
diff -u packages/pearize.sh:1.44 packages/pearize.sh:1.45
--- packages/pearize.sh:1.44    Fri Feb 12 12:14:32 2010
+++ packages/pearize.sh Thu Aug 19 15:06:14 2010
@@ -128,6 +128,9 @@
 if [ -n "$optional" ]; then
        echo "$optional" | while read tag dep; do
                for req in $dep; do
+                       # strip single quotes that default template includes in 
@optional@ expand
+                       # TODO: remove in php-pear-PEAR_Command_Packaging 
package
+                       req=${req#\'} req=${req%\'}
                        m=$(grep "^%define.*_noautoreq" $spec || :)
                        if [ -z "$m" ]; then
                                sed -i -e "/^BuildRoot:/{
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to