From b5c88580adce286b83803d139c2df5444d3e0a19 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 16 Mar 2014 19:22:42 +0100 Subject: php-pecl-inclued: cleanups --- php-pecl-inclued.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'php-pecl-inclued.spec') diff --git a/php-pecl-inclued.spec b/php-pecl-inclued.spec index fb4c796..29eecb7 100644 --- a/php-pecl-inclued.spec +++ b/php-pecl-inclued.spec @@ -6,9 +6,9 @@ # # Please, preserve the changelog entries # -%{!?php_inidir: %{expand: %%global php_inidir %{_sysconfdir}/php.d}} -%{!?php_incldir: %{expand: %%global php_incldir %{_includedir}/php}} -%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}} +%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} +%{!?__pecl: %global __pecl %{_bindir}/pecl} +%{!?__php: %global __php %{_bindir}/php} %global with_zts 0%{?__ztsphp:1} %global pecl_name inclued @@ -83,6 +83,8 @@ chmod -x gengraph.php cp %{SOURCE1} LICENSE %if "%{php_version}" > "5.4" +# this patch fix build with recent versions +# but breaks compat with older versions %patch0 -p3 -b .svn %endif -- cgit