Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d9999752c0 | ||
|
6d15f401aa | ||
|
1afc66aa7b | ||
|
9432177bd3 | ||
|
c82b05a3fa | ||
|
a68e2cb1a4 | ||
|
dec508aebb | ||
|
dfcce15b06 | ||
|
f1a057a7fb | ||
|
5f0dde5b84 | ||
|
6151e2dad5 | ||
|
57a7b89ce0 | ||
|
e09f36e378 | ||
|
890f934640 | ||
|
56dd7197bf | ||
|
98d197313d | ||
|
f0f4a46a38 | ||
|
08bf3345d2 | ||
|
161603f20f | ||
|
faabf79f6b | ||
|
cb184f93c3 | ||
|
9a8d5eaa7b | ||
|
d6552038a6 | ||
|
7a08934df6 | ||
|
379cd258a3 | ||
|
69ea42e9c6 | ||
|
1be3f51d47 | ||
|
f01e3aae1b | ||
|
956fe2509f | ||
|
e89009dcaa |
9
.gitignore
vendored
9
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (pecl_http-3.2.1.tgz) = e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
|
||||
SHA512 (pecl_http-4.2.3.tgz) = be8bac0947e9fb63da5afa3eaf7b75a70775ca59a8a8c24b5f4b1875909dd8b6b2f4b25bf462acef78f18d5dd739c02352786853d9963cb71f3c1b114f113558
|
||||
|
Loading…
Reference in New Issue
Block a user