commit 06d5404ef8f7dea72d72fb05e66eb5e07d5c69fe
Author: Elan Ruusamäe <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to