packages: rpm-build-macros/rpm.macros - workaround date.timezone requiremen...

glen glen at pld-linux.org
Thu Aug 19 14:24:10 CEST 2010


Author: glen                         Date: Thu Aug 19 12:24:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- workaround date.timezone requirement in php 5.3, besides we ensure consistency this way using same timezone in builds

---- Files affected:
packages/rpm-build-macros:
   rpm.macros (1.569 -> 1.570) 

---- Diffs:

================================================================
Index: packages/rpm-build-macros/rpm.macros
diff -u packages/rpm-build-macros/rpm.macros:1.569 packages/rpm-build-macros/rpm.macros:1.570
--- packages/rpm-build-macros/rpm.macros:1.569	Fri Aug 13 13:48:37 2010
+++ packages/rpm-build-macros/rpm.macros	Thu Aug 19 14:24:04 2010
@@ -1389,8 +1389,9 @@
 fi \
 %{nil}
 
-# command invoking pear cli
-%__pear /usr/bin/pear
+# Command invoking PEAR CLI
+# Same as /usr/bin/pear, except we force GMT timezone
+%__pear	%__php -doutput_buffering=1 -dopen_basedir="" -dmemory_limit=-1 -ddate.timezone=GMT %{php_pear_dir}/pearcmd.php
 
 %pear_install(a:d:n:zD) \
 %__pear \\\
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-macros/rpm.macros?r1=1.569&r2=1.570&f=u



More information about the pld-cvs-commit mailing list