From 5931e4238a71d62911ede93a93d627403ab850d3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Oct 2014 16:45:44 +0100 Subject: PHP 5.6.3RC1 with phpdbg_webhelper extension --- php56.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'php56.spec') diff --git a/php56.spec b/php56.spec index e691bae..95726a7 100644 --- a/php56.spec +++ b/php56.spec @@ -133,7 +133,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: 5.6.3 %if 0%{?snapdate:1}%{?rcver:1} -Release: 0.1.%{?snapdate}%{?rcver}%{?dist} +Release: 0.2.%{?snapdate}%{?rcver}%{?dist} %else Release: 1%{?dist} %endif @@ -169,6 +169,7 @@ Source14: nginx-php.conf # Configuration files for some extensions Source50: opcache.ini Source51: opcache-default.blacklist +Source52: phpdbg_webhelper.ini Source99: php-fpm.init # Build fixes @@ -302,6 +303,7 @@ executing PHP scripts, /usr/bin/php, and the CGI interface. Group: Development/Languages Summary: The interactive PHP debugger Requires: php-common%{?_isa} = %{version}-%{release} +Provides: php-phpdbg_webhelper, php-phpdbg_webhelper%{?_isa} Obsoletes: php56u-dbg, php56w-dbg %description dbg @@ -1061,6 +1063,7 @@ echo "d /run/php-fpm 755 root root" >php-fpm.tmpfiles # Some extensions have their own configuration file cp %{SOURCE50} 10-opcache.ini +cp %{SOURCE52} 20-phpdbg_webhelper.ini # Regenerated bison files # to force, rm Zend/zend_{language,ini}_parser.[ch] @@ -1178,7 +1181,7 @@ build --libdir=%{_libdir}/php \ --enable-pcntl \ --enable-opcache \ --enable-phpdbg \ - --disable-phpdbg-webhelper \ + --enable-phpdbg-webhelper=shared \ --with-imap=shared --with-imap-ssl \ --enable-mbstring=shared \ --enable-mbregex \ @@ -1621,6 +1624,9 @@ EOF EOF done +# This extension is NTS only, for use with phpdbg +cp -p 20-phpdbg_webhelper.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.d/20-phpdbg_webhelper.ini + # The dom, xsl and xml* modules are all packaged in php-xml cat files.dom files.xsl files.xml{reader,writer} files.wddx \ files.simplexml >> files.xml @@ -1836,6 +1842,8 @@ fi %{_bindir}/phpdbg %{_mandir}/man1/phpdbg.1* %doc sapi/phpdbg/{README.md,CREDITS} +%attr(755,root,root) %{_libdir}/php/modules/phpdbg_webhelper.so +%config(noreplace) %attr(644,root,root) %{_sysconfdir}/php.d/20-phpdbg_webhelper.ini %files fpm %defattr(-,root,root) @@ -1941,6 +1949,10 @@ fi %changelog +* Wed Oct 29 2014 Remi Collet 5.6.3-0.2.RC1 +- php 5.6.3RC1 (refreshed) +- enable phpdbg_webhelper new extension (in php-dbg) + * Tue Oct 28 2014 Remi Collet 5.6.3-0.1.RC1 - php 5.6.3RC1 - disable opcache.fast_shutdown in default config -- cgit