[packages/php] fix for php7070 paths in fpm config

glen glen at pld-linux.org
Tue Nov 10 23:39:15 CET 2015


commit c05f80f0c69e7b2d46cccbe830ab98f3385bf82b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 11 00:34:36 2015 +0200

    fix for php7070 paths in fpm config

 php.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 6d8f054..e338d6b 100644
--- a/php.spec
+++ b/php.spec
@@ -2567,7 +2567,7 @@ cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
 
 %{__sed} -i -e '
 	s#/usr/lib/php#%{php_extensiondir}#
-	s#/etc/php#%{_sysconfdir}#
+	s#/etc/php/#%{_sysconfdir}/#
 	s#@processname@#%{name}-fpm#g
 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf,%{_sysconfdir}/fpm.d/www.conf}
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/168d013713bdb9df99e0bf51e7f6f32c3b63bc25



More information about the pld-cvs-commit mailing list