summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/php.spec b/php.spec
index 124b866..8d077fa 100644
--- a/php.spec
+++ b/php.spec
@@ -1030,8 +1030,7 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \
-e "s:@SCL@:%{?scl:%{scl}_}:" \
%{SOURCE3} | tee macros.php
%if 0%{?fedora} >= 24
-# Will result as %%php70_pecl_xmldir, thanks to override
-echo '%pecl_xmldir %{_localstatedir}/lib/php/peclxml' >>macros.php
+echo '%%%{?scl:%{scl}_}pecl_xmldir %{_localstatedir}/lib/php/peclxml' | tee -a macros.php
%endif
# php-fpm configuration files for tmpfiles.d