Update to 3.0.1 (php 7, stable)
This commit is contained in:
parent
4c79df4ff6
commit
155e6d951a
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ clog
|
||||
/pecl_http-2.5.3.tgz
|
||||
/pecl_http-2.5.5.tgz
|
||||
/pecl_http-2.5.6.tgz
|
||||
/pecl_http-3.0.1.tgz
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Fedora spec file for php-pecl-http
|
||||
#
|
||||
# Copyright (c) 2012-2015 Remi Collet
|
||||
# Copyright (c) 2012-2016 Remi Collet
|
||||
# License: CC-BY-SA
|
||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||
#
|
||||
@ -20,8 +20,8 @@
|
||||
%endif
|
||||
|
||||
Name: php-pecl-http
|
||||
Version: 2.5.6
|
||||
Release: 2%{?dist}
|
||||
Version: 3.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Extended HTTP support
|
||||
|
||||
License: BSD
|
||||
@ -35,7 +35,7 @@ Source1: %{proj_name}.ini
|
||||
# Upstream patch
|
||||
Patch0: %{proj_name}-upstream.patch
|
||||
|
||||
BuildRequires: php-devel >= 5.3.0
|
||||
BuildRequires: php-devel >= 7
|
||||
BuildRequires: php-hash
|
||||
BuildRequires: php-iconv
|
||||
BuildRequires: php-spl
|
||||
@ -169,12 +169,8 @@ done
|
||||
|
||||
|
||||
%check
|
||||
%if "%{php_version}" < "5.4"
|
||||
# Known failed test with 5.3.3 (need investigations)
|
||||
export REPORT_EXIT_STATUS=0
|
||||
%else
|
||||
export REPORT_EXIT_STATUS=1
|
||||
%endif
|
||||
export SKIP_ONLINE_TESTS=1
|
||||
|
||||
# Shared needed extensions
|
||||
modules=""
|
||||
@ -193,7 +189,6 @@ done
|
||||
%if %{with_tests}
|
||||
: Upstream test suite NTS extension
|
||||
cd NTS
|
||||
SKIP_ONLINE_TESTS=1 \
|
||||
TEST_PHP_EXECUTABLE=%{__php} \
|
||||
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
||||
NO_INTERACTION=1 \
|
||||
@ -210,7 +205,6 @@ NO_INTERACTION=1 \
|
||||
%if %{with_tests}
|
||||
: Upstream test suite ZTS extension
|
||||
cd ../ZTS
|
||||
SKIP_ONLINE_TESTS=1 \
|
||||
TEST_PHP_EXECUTABLE=%{__ztsphp} \
|
||||
TEST_PHP_ARGS="-n $modules -d extension=$PWD/modules/%{pecl_name}.so" \
|
||||
NO_INTERACTION=1 \
|
||||
@ -241,6 +235,9 @@ NO_INTERACTION=1 \
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 27 2016 Remi Collet <remi@fedoraproject.org> - 3.0.1-1
|
||||
- Update to 3.0.1 (php 7, stable)
|
||||
|
||||
* Sat Mar 26 2016 Remi Collet <remi@fedoraproject.org> - 2.5.6-2
|
||||
- add upstream patch to skip a online test
|
||||
fix FTBFS detected by Koschei
|
||||
|
Loading…
Reference in New Issue
Block a user