- only enable needed extensions for pear/pecl commands (posix, xml)

- fix typo in pear man page
This commit is contained in:
Remi Collet 2014-04-09 16:03:48 +02:00
parent 260576ba63
commit 19429b4d74
3 changed files with 13 additions and 3 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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 <rcollet@redhat.com> 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 <rcollet@redhat.com> 1:1.9.4-24
- Expand path in macros.pear
- Install macros to /usr/lib/rpm/macros.d where available