]> git.pld-linux.org Git - packages/php.git/commitdiff
trigger: fix also /etc/php paths auto/th/php53-5.3.28-10
authorElan Ruusamäe <glen@delfi.ee>
Mon, 19 May 2014 08:43:03 +0000 (11:43 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 19 May 2014 08:43:03 +0000 (11:43 +0300)
php.spec

index 3fe3e719d15fbd4f635dd67fd25fedd4c0b55355..c0d9817c79f3b5640045a56badca0303eb572a34 100644 (file)
--- 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
This page took 0.069511 seconds and 4 git commands to generate.