summaryrefslogtreecommitdiffstats
path: root/php-pecl-http.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-02-25 14:03:03 +0100
committerRemi Collet <remi@php.net>2022-02-25 14:03:03 +0100
commit0e161b9b0597cc7283f7ab605f35f46095cae8a0 (patch)
tree6da57228571119b44d7319c75276b29f2b7cb1f8 /php-pecl-http.spec
parentbba5177c29682881960c13bb8b9b6d984c7aafb9 (diff)
update to 3.2.5
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r--php-pecl-http.spec12
1 files changed, 5 insertions, 7 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index cbeae5d..99a55af 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -37,7 +37,7 @@
%global with_tests 0%{!?_without_tests:1}
%endif
-%global upstream_version 3.2.4
+%global upstream_version 3.2.5
#global upstream_prever RC1
Name: %{?sub_prefix}php-pecl-http
@@ -57,11 +57,8 @@ URL: https://pecl.php.net/package/pecl_http
# From http://www.php.net/manual/en/http.configuration.php
Source1: %{proj_name}.ini
-# Upstream patches for recent libcurl
-Patch0: %{proj_name}-upstream.patch
-
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7
+BuildRequires: %{?scl_prefix}php-devel >= 7.0
BuildRequires: %{?scl_prefix}php-hash
BuildRequires: %{?scl_prefix}php-spl
BuildRequires: %{?scl_prefix}php-pear
@@ -163,8 +160,6 @@ mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
cd NTS
-%patch0 -p1 -b .up
-
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}.
@@ -350,6 +345,9 @@ fi
%changelog
+* Fri Feb 25 2022 Remi Collet <remi@remirepo.net> - 3.2.5-1
+- update to 3.2.5
+
* Fri Feb 25 2022 Remi Collet <remi@remirepo.net> - 3.2.4-3
- add upstream patch for recent libcurl