summaryrefslogtreecommitdiffstats
path: root/php-pecl-http.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-http.spec')
-rw-r--r--php-pecl-http.spec17
1 files changed, 7 insertions, 10 deletions
diff --git a/php-pecl-http.spec b/php-pecl-http.spec
index 7ecf562..3f7f022 100644
--- a/php-pecl-http.spec
+++ b/php-pecl-http.spec
@@ -36,7 +36,7 @@
%bcond_without tests
%endif
-%global upstream_version 4.1.0
+%global upstream_version 4.2.0
#global upstream_prever beta1
#global upstream_lower beta1
@@ -57,8 +57,6 @@ URL: https://pecl.php.net/package/pecl_http
# From http://www.php.net/manual/en/http.configuration.php
Source1: %{proj_name}.ini
-Patch0: %{proj_name}-php81.patch
-
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8
@@ -148,9 +146,6 @@ mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS
%{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml}
cd NTS
-%if "%{php_version}" > "8.1"
-%patch0 -p1
-%endif
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}.
@@ -237,9 +232,8 @@ done
rm ?TS/tests/client021.phpt
rm ?TS/tests/client022.phpt
rm ?TS/tests/client027.phpt
-# https://github.com/m6w6/ext-http/issues/116
-rm ?TS/tests/client031.phpt
-rm ?TS/tests/client032.phpt
+: https://github.com/m6w6/ext-http/issues/120
+rm ?TS/tests/client012.phpt
export REPORT_EXIT_STATUS=1
@@ -337,11 +331,14 @@ fi
%changelog
+* Tue Aug 31 2021 Remi Collet <remi@remirepo.net> - 4.2.0-1
+- update to 4.2.0
+
* Wed Aug 4 2021 Remi Collet <remi@remirepo.net> - 4.1.0-5
- add fix for 8.1.0beta2 from upstream and from
https://github.com/m6w6/ext-http/pull/118
-* Mon Jul 23 2021 Remi Collet <remi@remirepo.net> - 4.1.0-4
+* Mon Jul 26 2021 Remi Collet <remi@remirepo.net> - 4.1.0-4
- ignore 2 more tests failing with libcurl 7.77
* Mon Apr 19 2021 Remi Collet <remi@remirepo.net> - 4.1.0-1