Compare commits

..

30 Commits

Author SHA1 Message Date
Remi Collet
d9999752c0 drop unneeded build dependency on pcre #2128351 2022-09-20 17:53:35 +02:00
František Zatloukal
6d15f401aa Rebuilt for ICU 71.1 2022-08-01 15:08:04 +02:00
Fedora Release Engineering
1afc66aa7b Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 14:01:47 +00:00
Remi Collet
9432177bd3 fix date 2022-06-10 10:39:32 +02:00
Remi Collet
c82b05a3fa v4.2.3 2022-06-10 10:38:40 +02:00
Remi Collet
a68e2cb1a4 v4.2.2 2022-02-25 14:31:40 +01:00
Remi Collet
dec508aebb add upstream patch for recent libcurl 2022-02-25 09:20:31 +01:00
Fedora Release Engineering
dfcce15b06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 08:07:47 +00:00
Remi Collet
f1a057a7fb rebuild for https://fedoraproject.org/wiki/Changes/php81 2021-10-28 14:10:06 +02:00
Sahana Prasad
5f0dde5b84 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:11:31 +02:00
Remi Collet
6151e2dad5 v4.2.1 2021-09-13 13:54:43 +02:00
Remi Collet
57a7b89ce0 typo 2021-09-01 11:46:07 +02:00
Remi Collet
e09f36e378 v4.2.0 2021-09-01 11:44:43 +02:00
Remi Collet
890f934640 ignore 2 more tests failing with libcurl 7.77 2021-07-26 10:58:35 +02:00
Fedora Release Engineering
56dd7197bf - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 02:46:59 +00:00
Pete Walter
98d197313d Rebuild for ICU 69 2021-05-20 01:13:05 +01:00
Pete Walter
f0f4a46a38 Rebuild for ICU 69 2021-05-19 16:48:14 +01:00
Remi Collet
08bf3345d2 v4.1.0 2021-04-19 11:29:11 +02:00
Remi Collet
161603f20f update to 4.0.0 (stable)
raise dependency on PHP 8.0
drop dependency on propro extension
obsolete propro to allow upgrade from 7.x
2021-03-04 15:17:14 +01:00
Fedora Release Engineering
faabf79f6b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 07:24:41 +00:00
Remi Collet
cb184f93c3 v3.2.4 2021-01-14 08:35:09 +01:00
Remi Collet
9a8d5eaa7b rebuild for new libevent 2020-09-15 16:08:24 +02:00
Fedora Release Engineering
d6552038a6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 21:47:15 +00:00
Pete Walter
7a08934df6 Rebuild for ICU 67 2020-05-15 14:07:57 +01:00
Remi Collet
379cd258a3 v3.2.3 2020-03-27 11:26:36 +01:00
Fedora Release Engineering
69ea42e9c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 08:13:13 +00:00
Pete Walter
1be3f51d47 Rebuild for ICU 65 2019-11-01 15:57:25 +00:00
Remi Collet
f01e3aae1b v3.2.2 2019-10-24 13:01:27 +02:00
Remi Collet
956fe2509f skip 1 more test for s390x 2019-10-03 17:27:19 +02:00
Remi Collet
e89009dcaa rebuild for https://fedoraproject.org/wiki/Changes/php74 2019-10-03 17:20:42 +02:00
3 changed files with 108 additions and 18 deletions

9
.gitignore vendored
View File

@ -16,3 +16,12 @@ clog
/pecl_http-3.2.0RC1.tgz
/pecl_http-3.2.0.tgz
/pecl_http-3.2.1.tgz
/pecl_http-3.2.2.tgz
/pecl_http-3.2.3.tgz
/pecl_http-3.2.4.tgz
/pecl_http-4.0.0.tgz
/pecl_http-4.1.0.tgz
/pecl_http-4.2.0.tgz
/pecl_http-4.2.1.tgz
/pecl_http-4.2.2.tgz
/pecl_http-4.2.3.tgz

View File

@ -1,6 +1,6 @@
# Fedora spec file for php-pecl-http
#
# Copyright (c) 2012-2019 Remi Collet
# Copyright (c) 2012-2022 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -14,7 +14,7 @@
%global proj_name pecl_http
%global pecl_name http
%global with_zts 0%{?__ztsphp:1}
# after 20-iconv 40-propro 40-raphf
# after 20-iconv 40-raphf
%global ini_name 50-%{pecl_name}.ini
%ifarch %{arm} aarch64
# Test suite disabled because of erratic results on slow ARM (timeout)
@ -23,33 +23,31 @@
%global with_tests 0%{!?_without_tests:1}
%endif
%global upstream_version 3.2.1
%global upstream_version 4.2.3
#global upstream_prever RC1
Name: php-pecl-http
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
Release: 2%{?dist}
Release: 4%{?dist}
Summary: Extended HTTP support
License: BSD
URL: http://pecl.php.net/package/pecl_http
Source0: http://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
URL: https://pecl.php.net/package/pecl_http
Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
# From http://www.php.net/manual/en/http.configuration.php
Source1: %{proj_name}.ini
BuildRequires: make
BuildRequires: gcc
BuildRequires: php-devel >= 7
BuildRequires: php-hash
BuildRequires: php-devel >= 8.0
BuildRequires: php-iconv
BuildRequires: php-spl
BuildRequires: php-pear
BuildRequires: pcre-devel
BuildRequires: zlib-devel >= 1.2.0.4
BuildRequires: curl-devel >= 7.18.2
BuildRequires: libicu-devel
BuildRequires: php-pecl-propro-devel >= 1.0.0
BuildRequires: php-pecl-raphf-devel >= 1.1.0
BuildRequires: php-pecl-raphf-devel >= 2
BuildRequires: libevent-devel >= 1.4
BuildRequires: brotli-devel >= 1.0
BuildRequires: pkgconfig
@ -58,13 +56,13 @@ BuildRequires: openssl-devel
Requires: php(zend-abi) = %{php_zend_api}
Requires: php(api) = %{php_core_api}
Requires: php-hash%{?_isa}
Requires: php-iconv%{?_isa}
Requires: php-spl%{?_isa}
Requires: php-pecl(propro)%{?_isa} >= 1.0.0
Requires: php-pecl(raphf)%{?_isa} >= 1.1.0
Requires: php-raphf%{?_isa} >= 2
# V1 don't support PHP 5.6 https://bugs.php.net/66879
Obsoletes: php-pecl-http1 < 2
# to allow migration from PHP 7 (last is 2.1.0)
Obsoletes: php-pecl-propro < 2.2
Provides: php-pecl(%{proj_name}) = %{version}
Provides: php-pecl(%{proj_name})%{?_isa} = %{version}
@ -108,8 +106,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}.
@ -191,10 +187,11 @@ rm ?TS/tests/client027.phpt
# sometime on s390x
rm ?TS/tests/client016.phpt
rm ?TS/tests/client028.phpt
rm ?TS/tests/etag001.phpt
# Shared needed extensions
modules=""
for mod in hash iconv propro raphf; do
for mod in iconv raphf; do
if [ -f %{php_extdir}/${mod}.so ]; then
modules="$modules -d extension=${mod}.so"
fi
@ -255,6 +252,90 @@ NO_INTERACTION=1 \
%changelog
* Tue Sep 20 2022 Remi Collet <remi@remirepo.net> - 4.2.3-4
- drop unneeded build dependency on pcre #2128351
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 4.2.3-3
- Rebuilt for ICU 71.1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 10 2022 Remi Collet <remi@remirepo.net> - 4.2.3-1
- update to 4.2.3
* Fri Feb 25 2022 Remi Collet <remi@remirepo.net> - 4.2.2-1
- update to 4.2.2
* Fri Feb 25 2022 Remi Collet <remi@remirepo.net> - 4.2.1-5
- add upstream patch for recent libcurl
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Oct 28 2021 Remi Collet <remi@remirepo.net> - 4.2.1-3
- rebuild for https://fedoraproject.org/wiki/Changes/php81
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.2.1-2
- Rebuilt with OpenSSL 3.0.0
* Mon Sep 13 2021 Remi Collet <remi@remirepo.net> - 4.2.1-1
- update to 4.2.1
* Wed Sep 1 2021 Remi Collet <remi@remirepo.net> - 4.2.0-1
- update to 4.2.0
* Mon Jul 26 2021 Remi Collet <remi@remirepo.net> - 4.1.0-4
- ignore 2 more tests failing with libcurl 7.77
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 4.1.0-3
- Rebuild for ICU 69
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 4.1.0-2
- Rebuild for ICU 69
* Mon Apr 19 2021 Remi Collet <remi@remirepo.net> - 4.1.0-1
- update to 4.1.0
* Thu Mar 4 2021 Remi Collet <remi@remirepo.net> - 4.0.0-1
- update to 4.0.0 (stable)
- raise dependency on PHP 8.0
- drop dependency on propro extension
- obsolete propro to allow upgrade from 7.x
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Remi Collet <remi@remirepo.net> - 3.2.4-1
- update to 3.2.4
* Tue Sep 15 2020 Remi Collet <remi@remirepo.net> - 3.2.3-4
- rebuild for new libevent
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 3.2.3-2
- Rebuild for ICU 67
* Fri Mar 27 2020 Remi Collet <remi@remirepo.net> - 3.2.3-1
- update to 3.2.3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 3.2.2-2
- Rebuild for ICU 65
* Thu Oct 24 2019 Remi Collet <remi@remirepo.net> - 3.2.2-1
- update to 3.2.2
* Thu Oct 03 2019 Remi Collet <remi@remirepo.net> - 3.2.1-3
- rebuild for https://fedoraproject.org/wiki/Changes/php74
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pecl_http-3.2.1.tgz) = e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
SHA512 (pecl_http-4.2.3.tgz) = be8bac0947e9fb63da5afa3eaf7b75a70775ca59a8a8c24b5f4b1875909dd8b6b2f4b25bf462acef78f18d5dd739c02352786853d9963cb71f3c1b114f113558