diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-09-11 12:55:02 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-09-11 12:55:02 +0200 |
commit | 2df75f1491ba8547c1a804eb5e5965c582d1dfb6 (patch) | |
tree | f68fc2745bd0b9e7d12a03642429b6f7c3ecdf05 /php-pecl-http-php7.spec | |
parent | 99752e52572f3c3a2af4deae4190f6fb311d3942 (diff) |
php-pecl-http: fix F25 build
Diffstat (limited to 'php-pecl-http-php7.spec')
-rw-r--r-- | php-pecl-http-php7.spec | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/php-pecl-http-php7.spec b/php-pecl-http-php7.spec index 5a43b40..c516e3f 100644 --- a/php-pecl-http-php7.spec +++ b/php-pecl-http-php7.spec @@ -43,7 +43,7 @@ Version: 3.1.0 Release: 0.1.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{proj_name}-%{version}%{?prever}.tgz %endif Summary: Extended HTTP support @@ -287,9 +287,12 @@ done --modules | grep %{pecl_name} %if %{with_tests} -%if "%{php_version}" > "7.1" -rm ?TS/tests/client022.phpt +%if "%{php_version}" > "7" + rm ?TS/tests/client022.phpt %endif +if pkg-config --atleast-version=7.49 libcurl; then + rm ?TS/tests/client019.phpt +fi : Upstream test suite NTS extension cd NTS @@ -365,6 +368,9 @@ rm -rf %{buildroot} %changelog +* Sun Sep 11 2016 Remi Collet <remi@fedoraproject.org> - 3.1.0-0.2.beta2 +- ignore test with libcurl > 7.49 + * Wed Sep 7 2016 Remi Collet <remi@fedoraproject.org> - 3.1.0-0.1.beta2 - Update to 3.1.0beta2 (php 7, beta) |