fix php libdir path for x86_64 [release 1.9.4-2mamba;Sun Jun 15 2014]
This commit is contained in:
parent
54c685a4a5
commit
d4c33ac6eb
4
pear.sh
4
pear.sh
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec /usr/bin/php -C -d include_path=/usr/lib/php \
|
exec /usr/bin/php -C -d include_path=@LIBDIR@/php \
|
||||||
-d output_buffering=1 /usr/lib/php/pearcmd.php "$@"
|
-d output_buffering=1 @LIBDIR@/php/pearcmd.php "$@"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec /usr/bin/php -d memory_limit="-1" -C -q -d include_path=/usr/lib/php \
|
exec /usr/bin/php -d memory_limit="-1" -C -q -d include_path=@LIBDIR@/php \
|
||||||
-d output_buffering=1 /usr/lib/php/pearcmd.php "$@"
|
-d output_buffering=1 @LIBDIR@/php/pearcmd.php "$@"
|
||||||
|
4
pecl.sh
4
pecl.sh
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec /usr/bin/php -C -n -q -d include_path=/usr/lib/php \
|
exec /usr/bin/php -C -n -q -d include_path=@LIBDIR@/php \
|
||||||
-d output_buffering=1 /usr/lib/php/peclcmd.php "$@"
|
-d output_buffering=1 @LIBDIR@/php/peclcmd.php "$@"
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
%define xml_util_version 1.2.1
|
%define xml_util_version 1.2.1
|
||||||
Name: php-pear
|
Name: php-pear
|
||||||
Version: 1.9.4
|
Version: 1.9.4
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: PHP Extension and Application Repository framework
|
Summary: PHP Extension and Application Repository framework
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -99,6 +99,11 @@ install -D -m 755 %{SOURCE10} %{buildroot}%{_bindir}/pear
|
|||||||
install -m 755 %{SOURCE11} %{buildroot}%{_bindir}/pecl
|
install -m 755 %{SOURCE11} %{buildroot}%{_bindir}/pecl
|
||||||
install -m 755 %{SOURCE12} %{buildroot}%{_bindir}/peardev
|
install -m 755 %{SOURCE12} %{buildroot}%{_bindir}/peardev
|
||||||
|
|
||||||
|
sed -i "s|@LIBDIR@|%{_libdir}|g" \
|
||||||
|
%{buildroot}%{_bindir}/pear \
|
||||||
|
%{buildroot}%{_bindir}/pecl \
|
||||||
|
%{buildroot}%{_bindir}/peardev
|
||||||
|
|
||||||
# Sanitize the pear.conf
|
# Sanitize the pear.conf
|
||||||
%{_bindir}/php %{SOURCE3} %{buildroot}%{_sysconfdir}/php/pear.conf ext_dir >new-pear.conf
|
%{_bindir}/php %{SOURCE3} %{buildroot}%{_sysconfdir}/php/pear.conf ext_dir >new-pear.conf
|
||||||
%{_bindir}/php %{SOURCE3} new-pear.conf http_proxy > %{buildroot}%{_sysconfdir}/php/pear.conf
|
%{_bindir}/php %{SOURCE3} new-pear.conf http_proxy > %{buildroot}%{_sysconfdir}/php/pear.conf
|
||||||
@ -173,6 +178,9 @@ rm new-pear.conf
|
|||||||
#README*
|
#README*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-2mamba
|
||||||
|
- fix php libdir path for x86_64
|
||||||
|
|
||||||
* Mon Mar 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-1mamba
|
* Mon Mar 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-1mamba
|
||||||
- update to 1.9.4
|
- update to 1.9.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user