|
|
@ -1,6 +1,6 @@
|
|
|
|
# Fedora spec file for php-pecl-http
|
|
|
|
# Fedora spec file for php-pecl-http
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012-2019 Remi Collet
|
|
|
|
# Copyright (c) 2012-2021 Remi Collet
|
|
|
|
# License: CC-BY-SA
|
|
|
|
# License: CC-BY-SA
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -23,23 +23,24 @@
|
|
|
|
%global with_tests 0%{!?_without_tests:1}
|
|
|
|
%global with_tests 0%{!?_without_tests:1}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global upstream_version 3.2.1
|
|
|
|
%global upstream_version 3.2.4
|
|
|
|
#global upstream_prever RC1
|
|
|
|
#global upstream_prever RC1
|
|
|
|
|
|
|
|
|
|
|
|
Name: php-pecl-http
|
|
|
|
Name: php-pecl-http
|
|
|
|
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
|
|
|
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Extended HTTP support
|
|
|
|
Summary: Extended HTTP support
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://pecl.php.net/package/pecl_http
|
|
|
|
URL: https://pecl.php.net/package/pecl_http
|
|
|
|
Source0: http://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
|
|
|
|
Source0: https://pecl.php.net/get/%{proj_name}-%{upstream_version}%{?upstream_prever}.tgz
|
|
|
|
|
|
|
|
|
|
|
|
# From http://www.php.net/manual/en/http.configuration.php
|
|
|
|
# From http://www.php.net/manual/en/http.configuration.php
|
|
|
|
Source1: %{proj_name}.ini
|
|
|
|
Source1: %{proj_name}.ini
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: php-devel >= 7
|
|
|
|
BuildRequires: php-devel >= 7.0
|
|
|
|
BuildRequires: php-hash
|
|
|
|
BuildRequires: php-hash
|
|
|
|
BuildRequires: php-iconv
|
|
|
|
BuildRequires: php-iconv
|
|
|
|
BuildRequires: php-spl
|
|
|
|
BuildRequires: php-spl
|
|
|
@ -108,8 +109,6 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
|
|
|
|
|
|
|
|
|
|
|
|
mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS
|
|
|
|
mv %{proj_name}-%{upstream_version}%{?upstream_prever} NTS
|
|
|
|
cd 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)
|
|
|
|
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
|
|
|
|
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}.
|
|
|
|
: Error: Upstream HTTP version is now ${extver}, expecting %{upstream_version}%{?upstream_prever}%{?gh_date:dev}.
|
|
|
@ -191,6 +190,7 @@ rm ?TS/tests/client027.phpt
|
|
|
|
# sometime on s390x
|
|
|
|
# sometime on s390x
|
|
|
|
rm ?TS/tests/client016.phpt
|
|
|
|
rm ?TS/tests/client016.phpt
|
|
|
|
rm ?TS/tests/client028.phpt
|
|
|
|
rm ?TS/tests/client028.phpt
|
|
|
|
|
|
|
|
rm ?TS/tests/etag001.phpt
|
|
|
|
|
|
|
|
|
|
|
|
# Shared needed extensions
|
|
|
|
# Shared needed extensions
|
|
|
|
modules=""
|
|
|
|
modules=""
|
|
|
@ -255,6 +255,30 @@ NO_INTERACTION=1 \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jan 14 2021 Remi Collet <remi@remirepo.net> - 3.2.4-1
|
|
|
|
|
|
|
|
- update to 3.2.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|