From 5ee73cb1e8daa8bb1481ffbd58fb09e4b32f1da1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jan 2021 16:51:12 +0100 Subject: update to 4.0.0 (stable) --- php-pecl-http.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'php-pecl-http.spec') diff --git a/php-pecl-http.spec b/php-pecl-http.spec index d70ff23..f395aa4 100644 --- a/php-pecl-http.spec +++ b/php-pecl-http.spec @@ -3,7 +3,7 @@ # # Fedora spec file for php-pecl-http # -# Copyright (c) 2012-2020 Remi Collet +# Copyright (c) 2012-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -37,8 +37,8 @@ %endif %global upstream_version 4.0.0 -%global upstream_prever beta1 -%global upstream_lower beta1 +#global upstream_prever beta1 +#global upstream_lower beta1 Name: %{?sub_prefix}php-pecl-http Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} @@ -46,7 +46,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} Release: 0.8.%{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: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz %endif Summary: Extended HTTP support @@ -57,6 +57,7 @@ URL: https://pecl.php.net/package/pecl_http # From http://www.php.net/manual/en/http.configuration.php Source1: %{proj_name}.ini +BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8 BuildRequires: %{?scl_prefix}php-spl @@ -64,8 +65,8 @@ BuildRequires: %{?scl_prefix}php-pear BuildRequires: pcre-devel BuildRequires: zlib-devel >= 1.2.0.4 BuildRequires: curl-devel >= 7.18.2 -# Use same version than PHP to ensure we use libicu-last (EL 6) -BuildRequires: libicu-devel >= 50 +# Use same version than PHP to ensure we use libicu65 +BuildRequires: pkgconfig(icu-i18n) >= 65 BuildRequires: %{?scl_prefix}php-pecl-raphf-devel >= 2 BuildRequires: pkgconfig(libevent) >= 2 # only needed in F27+ @@ -329,6 +330,9 @@ fi %changelog +* Wed Jan 13 2021 Remi Collet - 4.0.0-1 +- update to 4.0.0 (stable) + * Thu Dec 3 2020 Remi Collet - 4.0.0~beta1-3 - EL-7: add dependency on brotli - obsolete propro to allow upgrade from 7.x -- cgit