diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-03-10 10:21:43 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-03-10 10:21:43 +0100 |
commit | a8bb1b0726a7014aae29b654523ebdaf6d292f61 (patch) | |
tree | 44215e54d10c4d8b4eb846ded219ca54e06126bf | |
parent | e97173295dd1ee30312d605b2ae0c1063f07cedc (diff) |
php-pecl-cairo: fix Copr build
-rw-r--r-- | php-pecl-cairo.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-cairo.spec b/php-pecl-cairo.spec index 81bd134..60b0a83 100644 --- a/php-pecl-cairo.spec +++ b/php-pecl-cairo.spec @@ -12,7 +12,7 @@ Name: php-pecl-cairo Version: 0.3.2 -Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} Summary: Cairo Graphics Library Extension Group: Development/Languages License: PHP @@ -102,10 +102,12 @@ cd NTS %configure --with-php-config=%{_bindir}/php-config make %{?_smp_mflags} +%if %{with_zts} cd ../ZTS %{_bindir}/zts-phpize %configure --with-php-config=%{_bindir}/zts-php-config make %{?_smp_mflags} +%endif %install @@ -139,10 +141,12 @@ done -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ -m | grep %{pecl_name} +%if %{with_zts} : Minimal load test for ZTS extension %{__ztsphp} -n \ -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ -m | grep %{pecl_name} +%endif %if %{with_tests} # 32/445 test failing with old cairo 1.8 @@ -203,6 +207,9 @@ fi %endif %changelog +* Mon Mar 10 2014 Remi Collet <remi@fedoraproject.org> - 0.3.2-6 +- fix build when ZTS not available + * Sun Mar 2 2014 Remi Collet <remi@fedoraproject.org> - 0.3.2-5 - cleanups - move doc in pecl_docdir |