summaryrefslogtreecommitdiffstats
path: root/php70.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-04 16:26:09 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-04 16:26:09 +0100
commitf5a564de293face92608da8c86e7a9087c65c9ab (patch)
tree7b4c68017f8bf8e631037ba3198a698a189a38a1 /php70.spec
parent8152fb1501843eacd1f393e8148e677aa9d5483f (diff)
php 7.0.4, rebuild for F24
Diffstat (limited to 'php70.spec')
-rw-r--r--php70.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/php70.spec b/php70.spec
index 951c43c..2c2219a 100644
--- a/php70.spec
+++ b/php70.spec
@@ -122,7 +122,7 @@
%endif
#global rcver RC1
-%global rpmrel 1
+%global rpmrel 2
Summary: PHP scripting language for creating dynamic web sites
Name: php
@@ -1573,6 +1573,9 @@ install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/session
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/wsdlcache
install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/opcache
+%if 0%{?fedora} >= 24
+install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php/peclxml
+%endif
%if %{with_lsws}
install -m 755 build-apache/sapi/litespeed/php $RPM_BUILD_ROOT%{_bindir}/lsphp
@@ -1736,6 +1739,9 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
-e "/zts/d" \
%endif
< %{SOURCE3} > macros.php
+%if 0%{?fedora} >= 24
+echo '%pecl_xmldir %{_localstatedir}/lib/php/peclxml' >>macros.php
+%endif
install -m 644 -D macros.php \
$RPM_BUILD_ROOT%{macrosdir}/macros.php
@@ -1857,6 +1863,9 @@ fi
%dir %{_libdir}/php-zts/modules
%endif
%dir %{_localstatedir}/lib/php
+%if 0%{?fedora} >= 24
+%dir %{_localstatedir}/lib/php/peclxml
+%endif
%dir %{_datadir}/php
%files cli
@@ -1994,6 +2003,9 @@ fi
%changelog
+* Fri Mar 4 2016 Remi Collet <remi@fedoraproject.org> 7.0.4-2
+- adapt for F24: define %%pecl_xmldir and own it
+
* Wed Mar 2 2016 Remi Collet <remi@fedoraproject.org> 7.0.4-1
- Update to 7.0.4
http://www.php.net/releases/7_0_4.php