|
|
|
@ -1,10 +1,13 @@
|
|
|
|
|
# Use Clone module for duplicating HTTP::Headers objects
|
|
|
|
|
%bcond_without perl_HTTP_Message_enables_Clone
|
|
|
|
|
|
|
|
|
|
Name: perl-HTTP-Message
|
|
|
|
|
Version: 6.45
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 6.29
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: HTTP style message
|
|
|
|
|
# CONTRIBUTING.md: CC0-1.0
|
|
|
|
|
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC0-1.0
|
|
|
|
|
# CONTRIBUTING.md: CC0
|
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
|
License: (GPL+ or Artistic) and CC0
|
|
|
|
|
URL: https://metacpan.org/release/HTTP-Message
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Message-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -17,39 +20,43 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Clone)
|
|
|
|
|
BuildRequires: perl(Compress::Raw::Zlib)
|
|
|
|
|
BuildRequires: perl(Encode) >= 3.01
|
|
|
|
|
BuildRequires: perl(Encode::Locale) >= 1
|
|
|
|
|
BuildRequires: perl(Exporter) >= 5.57
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(HTTP::Date) >= 6
|
|
|
|
|
BuildRequires: perl(IO::Compress::Brotli)
|
|
|
|
|
BuildRequires: perl(IO::Compress::Bzip2) >= 2.021
|
|
|
|
|
BuildRequires: perl(IO::Compress::Deflate)
|
|
|
|
|
BuildRequires: perl(IO::Compress::Gzip)
|
|
|
|
|
BuildRequires: perl(IO::HTML)
|
|
|
|
|
BuildRequires: perl(IO::Uncompress::Bunzip2) >= 2.021
|
|
|
|
|
BuildRequires: perl(IO::Uncompress::Gunzip)
|
|
|
|
|
BuildRequires: perl(IO::Uncompress::Inflate)
|
|
|
|
|
BuildRequires: perl(IO::Uncompress::RawInflate)
|
|
|
|
|
BuildRequires: perl(LWP::MediaTypes) >= 6
|
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 2.1
|
|
|
|
|
BuildRequires: perl(MIME::QuotedPrint)
|
|
|
|
|
BuildRequires: perl(URI) >= 1.10
|
|
|
|
|
%if %{with perl_HTTP_Message_enables_Clone}
|
|
|
|
|
# Optional run-time:
|
|
|
|
|
BuildRequires: perl(Clone)
|
|
|
|
|
%endif
|
|
|
|
|
# Tests only:
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(PerlIO::encoding)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Needs)
|
|
|
|
|
# Time::Local only used on MacOS
|
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
|
BuildRequires: perl(URI::URL)
|
|
|
|
|
Recommends: perl(IO::Compress::Brotli)
|
|
|
|
|
Requires: perl(Clone) => 0.46
|
|
|
|
|
Requires: perl(Compress::Raw::Zlib) >= 2.062
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
%if %{with perl_HTTP_Message_enables_Clone}
|
|
|
|
|
Recommends: perl(Clone)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(Compress::Raw::Zlib)
|
|
|
|
|
Requires: perl(Encode) >= 3.01
|
|
|
|
|
Requires: perl(Encode::Locale) >= 1
|
|
|
|
|
Requires: perl(HTTP::Date) >= 6
|
|
|
|
@ -57,6 +64,8 @@ Requires: perl(IO::Compress::Bzip2) >= 2.021
|
|
|
|
|
Requires: perl(IO::Compress::Deflate)
|
|
|
|
|
Requires: perl(IO::Compress::Gzip)
|
|
|
|
|
Requires: perl(IO::HTML)
|
|
|
|
|
Requires: perl(IO::Uncompress::Bunzip2) >= 2.021
|
|
|
|
|
Requires: perl(IO::Uncompress::Gunzip)
|
|
|
|
|
Requires: perl(IO::Uncompress::Inflate)
|
|
|
|
|
Requires: perl(IO::Uncompress::RawInflate)
|
|
|
|
|
Requires: perl(LWP::MediaTypes) >= 6
|
|
|
|
@ -66,7 +75,7 @@ Requires: perl(URI) >= 1.10
|
|
|
|
|
Conflicts: perl-libwww-perl < 6
|
|
|
|
|
|
|
|
|
|
# Remove underspecified dependencies
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Clone|Exporter|HTTP::Date|URI)\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Exporter|HTTP::Date|URI)\\)$
|
|
|
|
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(HTTP::Headers\\)$
|
|
|
|
|
# Remove private modules and unused dependencies
|
|
|
|
|
%global __requires_exclude %{__requires_exclude}|^perl\\((Secret|Time::Local)\\)
|
|
|
|
@ -80,6 +89,7 @@ requests, responses and the headers contained within them.
|
|
|
|
|
%package tests
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: coreutils
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
Requires: perl(URI::URL)
|
|
|
|
|
|
|
|
|
@ -105,8 +115,15 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
set -e
|
|
|
|
|
# t/status-old.t writes into CWD
|
|
|
|
|
DIR=$(mktemp -d)
|
|
|
|
|
cp -a %{_libexecdir}/%{name}/t "$DIR"
|
|
|
|
|
pushd "$DIR"
|
|
|
|
|
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
|
popd
|
|
|
|
|
rm -r "$DIR"
|
|
|
|
|
EOF
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
@ -125,82 +142,12 @@ make test
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.45-5
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.45-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.45-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.45-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Oct 04 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.45-1
|
|
|
|
|
- 6.45 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.44-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.44-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 27 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.44-1
|
|
|
|
|
- 6.44 bump
|
|
|
|
|
|
|
|
|
|
* Tue Oct 25 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.43-2
|
|
|
|
|
- Update license to SPDX
|
|
|
|
|
|
|
|
|
|
* Mon Oct 24 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.43-1
|
|
|
|
|
- 6.43 bump
|
|
|
|
|
|
|
|
|
|
* Fri Oct 21 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.42-1
|
|
|
|
|
- 6.42 bump
|
|
|
|
|
|
|
|
|
|
* Tue Oct 18 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.40-1
|
|
|
|
|
- 6.40 bump
|
|
|
|
|
|
|
|
|
|
* Wed Aug 17 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.37-1
|
|
|
|
|
- 6.37 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.36-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 6.36-3
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.36-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 06 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.36-1
|
|
|
|
|
- 6.36 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jan 04 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.35-1
|
|
|
|
|
- 6.35 bump
|
|
|
|
|
|
|
|
|
|
* Tue Nov 09 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.34-1
|
|
|
|
|
- 6.34 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.33-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 29 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.33-1
|
|
|
|
|
- 6.33 bump
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 6.32-2
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 19 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.32-1
|
|
|
|
|
- 6.32 bump
|
|
|
|
|
|
|
|
|
|
* Wed May 12 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.31-1
|
|
|
|
|
- 6.31 bump
|
|
|
|
|
- Simplify running of tests
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.29-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue May 11 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.30-1
|
|
|
|
|
- 6.30 bump
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.29-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Mar 08 2021 Petr Pisar <ppisar@redhat.com> - 6.29-1
|
|
|
|
|
- 6.29 bump
|
|
|
|
|