From eb365bf32ee4a744fd8e2e0a51e0c19e804d5517 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Jul 2018 06:46:32 +0200 Subject: rebuld for 7.3.0alpha4 new ABI --- php-pecl-http.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'php-pecl-http.spec') diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 34593d5..3791f06 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -47,10 +47,10 @@ Name: %{?sub_prefix}php-pecl-http Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} %if 0%{?gh_date:1} -Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.4.%{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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: http://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz %endif Summary: Extended HTTP support @@ -63,6 +63,7 @@ Source1: %{proj_name}.ini Patch0: https://github.com/m6w6/ext-http/commit/512f733beac73f37ba4acbcf730ebc6c6de849b6.patch Patch1: https://github.com/m6w6/ext-http/commit/377d576a6e68def5708cf1ffcd3c233c4dddf356.patch +Patch2: https://github.com/m6w6/ext-http/commit/a81472d0108d16e680980a9e0c1b4af0d629c43a.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 @@ -123,6 +124,10 @@ Obsoletes: php71w-pecl-http <= %{version} Obsoletes: php72u-pecl-http <= %{version} Obsoletes: php72w-pecl-http <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-http <= %{version} +Obsoletes: php73w-pecl-http <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -177,6 +182,7 @@ mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS cd NTS %patch0 -p1 -b .up0 %patch1 -p1 -b .up1 +%patch2 -p1 -b .up2 extver=$(sed -n '/#define PHP_PECL_HTTP_VERSION/{s/.* "//;s/".*$//;p}' php_http.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}%{?gh_date:dev}"; then @@ -364,6 +370,9 @@ fi %changelog +* Wed Jul 18 2018 Remi Collet - 3.2.0~RC1-3 +- rebuld for 7.3.0alpha4 new ABI + * Tue Jun 26 2018 Remi Collet - 3.2.0~RC1-2 - add upstream patches for PHP 7.3 -- cgit