diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-03-16 19:22:42 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-03-16 19:22:42 +0100 |
commit | b5c88580adce286b83803d139c2df5444d3e0a19 (patch) | |
tree | 266f5e45d7bb5bd45a5534d44efaabc086f4bceb | |
parent | e7e985f4e25d2226a24d50a781e4ca295662ff48 (diff) |
php-pecl-inclued: cleanups
-rw-r--r-- | php-pecl-inclued.spec | 8 |
1 files changed, 5 insertions, 3 deletions
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 |