[packages/php/PHP_5_3] trigger: fix also /etc/php paths
glen
glen at pld-linux.org
Mon May 19 10:43:06 CEST 2014
commit 06d5404ef8f7dea72d72fb05e66eb5e07d5c69fe
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon May 19 11:43:03 2014 +0300
trigger: fix also /etc/php paths
php.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index 3fe3e71..c0d9817 100644
--- a/php.spec
+++ b/php.spec
@@ -119,7 +119,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
%endif
%endif
-%define rel 9
+%define rel 10
%define orgname php
%define ver_suffix 53
%define php_suffix %{!?with_default_php:%{ver_suffix}}
@@ -2725,7 +2725,10 @@ for f in /etc/php/*.ini.rpmsave /etc/php/*.d/*.ini.rpmsave; do
test -f "$nf" || continue
cp -vf $nf{,.rpmnew}
mv -vf $f $nf
- %{__sed} -i -e 's#%{_libdir}/php#%{_libdir}/%{name}#' $nf
+ %{__sed} -i -e '
+ s#%{_libdir}/php#%{_libdir}/%{name}#
+ s#/etc/php#%{_sysconfdir}#
+ ' $nf
done
# common macros called at extension post/postun scriptlet
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/06d5404ef8f7dea72d72fb05e66eb5e07d5c69fe
More information about the pld-cvs-commit
mailing list