diff --git a/pear.sh b/pear.sh index 36be863..aa2c1a9 100644 --- a/pear.sh +++ b/pear.sh @@ -1,5 +1,8 @@ #!/bin/sh -exec /usr/bin/php -C -q \ +exec /usr/bin/php -C \ + -n \ + -d extension=posix.so \ + -d extension=xml.so \ -d include_path=/usr/share/pear \ -d date.timezone=UTC \ -d output_buffering=1 \ diff --git a/pecl.sh b/pecl.sh index 58cbdc5..7c56e2c 100644 --- a/pecl.sh +++ b/pecl.sh @@ -1,5 +1,8 @@ #!/bin/sh -exec /usr/bin/php -C -q \ +exec /usr/bin/php -C \ + -n \ + -d extension=posix.so \ + -d extension=xml.so \ -d include_path=/usr/share/pear \ -d date.timezone=UTC \ -d output_buffering=1 \ diff --git a/php-pear.spec b/php-pear.spec index eb56869..95a6259 100644 --- a/php-pear.spec +++ b/php-pear.spec @@ -17,7 +17,7 @@ Summary: PHP Extension and Application Repository framework Name: php-pear Version: 1.9.4 -Release: 24%{?dist} +Release: 25%{?dist} Epoch: 1 # PEAR, Archive_Tar, XML_Util are BSD # Console_Getopt is PHP @@ -309,6 +309,10 @@ fi %changelog +* Wed Apr 9 2014 Remi Collet 1:1.9.4-25 +- only enable needed extensions for pear/pecl commands +- fix typo in pear man page + * Tue Feb 11 2014 Remi Collet 1:1.9.4-24 - Expand path in macros.pear - Install macros to /usr/lib/rpm/macros.d where available