From 155e6d951adb54db3a16f83d0ca56a0d9a052283 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Jun 2016 17:51:00 +0200 Subject: [PATCH] Update to 3.0.1 (php 7, stable) --- .gitignore | 1 + php-pecl-http.spec | 19 ++++++++----------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 3af73c0..870a33e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 17c215e..0501c56 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -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 - 3.0.1-1 +- Update to 3.0.1 (php 7, stable) + * Sat Mar 26 2016 Remi Collet - 2.5.6-2 - add upstream patch to skip a online test fix FTBFS detected by Koschei diff --git a/sources b/sources index 952fbbf..32e56b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -40fff0e5536c5e80b44e68dd475f8c0a pecl_http-2.5.6.tgz +042c97314c180f6473338f0c5d35fabd pecl_http-3.0.1.tgz