From 5a67a68feddaaf252eef026535e37fa14ebde127 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Mar 2016 16:27:50 +0100 Subject: php70-php: minor fix (no rebuild required) --- macros.php | 1 - php.spec | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/macros.php b/macros.php index b837667..3943a74 100644 --- a/macros.php +++ b/macros.php @@ -14,4 +14,3 @@ %@SCL@__php @BINDIR@/php - 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 -- cgit