summaryrefslogtreecommitdiffstats
path: root/php-pecl-http-message.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-http-message.spec')
-rw-r--r--php-pecl-http-message.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-pecl-http-message.spec b/php-pecl-http-message.spec
index 0647ac2..e5d0473 100644
--- a/php-pecl-http-message.spec
+++ b/php-pecl-http-message.spec
@@ -21,12 +21,13 @@
Summary: PSR-7 HTTP Message implementation
Name: %{?sub_prefix}php-pecl-http-message
Version: 0.2.2
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: BSD
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
Patch0: https://patch-diff.githubusercontent.com/raw/improved-php-library/http-message/pull/3.patch
+Patch1: https://patch-diff.githubusercontent.com/raw/improved-php-library/http-message/pull/4.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7.2
@@ -93,6 +94,7 @@ mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
%patch0 -p1 -b .pr3
+%patch1 -p1 -b .pr4
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_HTTP_MESSAGE_VERSION/{s/.* "//;s/".*$//;p}' php_http_message.h)
@@ -241,6 +243,13 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 0.2.2-4
+- rebuild for PHP 8.0.0RC1
+- add patch from https://github.com/improved-php-library/http-message/pull/4
+
+* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 0.2.2-3
+- rebuild for PHP 8.0.0beta3
+
* Tue Sep 1 2020 Remi Collet <remi@remirepo.net> - 0.2.2-2
- add patch for PHP 8 from
https://github.com/improved-php-library/http-message/pull/3