summaryrefslogtreecommitdiffstats
path: root/php56.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-10-29 16:45:44 +0100
committerRemi Collet <fedora@famillecollet.com>2014-10-29 16:45:44 +0100
commit5931e4238a71d62911ede93a93d627403ab850d3 (patch)
tree7f967f13f6a7cf0609a2d71424acf81980ad7cad /php56.spec
parent883f90347a169283dd8f1d444255e71d1541652a (diff)
PHP 5.6.3RC1 with phpdbg_webhelper extension
Diffstat (limited to 'php56.spec')
-rw-r--r--php56.spec16
1 files changed, 14 insertions, 2 deletions
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 <rcollet@redhat.com> 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 <rcollet@redhat.com> 5.6.3-0.1.RC1
- php 5.6.3RC1
- disable opcache.fast_shutdown in default config