From e328e79bf9f560eb2c54aed0605a5bd7bf3c4a2b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Jan 2021 08:35:09 +0100 Subject: [PATCH] v3.2.4 (cherry picked from commit cb184f93c3d948732ef87704db3c6394f1c82ee3) --- .gitignore | 1 + php-pecl-http.spec | 14 ++++++++------ sources | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 41a49f7..4964a54 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ clog /pecl_http-3.2.1.tgz /pecl_http-3.2.2.tgz /pecl_http-3.2.3.tgz +/pecl_http-3.2.4.tgz diff --git a/php-pecl-http.spec b/php-pecl-http.spec index 69dbd00..9e905f8 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-2020 Remi Collet +# Copyright (c) 2012-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -23,12 +23,12 @@ %global with_tests 0%{!?_without_tests:1} %endif -%global upstream_version 3.2.3 +%global upstream_version 3.2.4 #global upstream_prever RC1 Name: php-pecl-http Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: Extended HTTP support License: BSD @@ -38,8 +38,9 @@ Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upst # From http://www.php.net/manual/en/http.configuration.php Source1: %{proj_name}.ini +BuildRequires: make BuildRequires: gcc -BuildRequires: php-devel >= 7 +BuildRequires: php-devel >= 7.0 BuildRequires: php-hash BuildRequires: php-iconv BuildRequires: php-spl @@ -108,8 +109,6 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS cd NTS -sed -e '/WORDS_BIGENDIAN/s/if /ifdef /' -i src/php_http_etag.c - 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 : Error: Upstream HTTP version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:dev}. @@ -256,6 +255,9 @@ NO_INTERACTION=1 \ %changelog +* Thu Jan 14 2021 Remi Collet - 3.2.4-1 +- update to 3.2.4 + * Tue Jul 28 2020 Fedora Release Engineering - 3.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index c384112..4591ed2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pecl_http-3.2.3.tgz) = e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666 +SHA512 (pecl_http-3.2.4.tgz) = 59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e