|
|
|
@ -4,10 +4,10 @@
|
|
|
|
|
%bcond_with perl_libwww_perl_enables_internet_test
|
|
|
|
|
|
|
|
|
|
Name: perl-libwww-perl
|
|
|
|
|
Version: 6.76
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 6.53
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: A Perl interface to the World-Wide Web
|
|
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/libwww-perl
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-%{version}.tar.gz
|
|
|
|
|
# Normalize shelbangs, not suitable for an upstream
|
|
|
|
@ -19,14 +19,17 @@ BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8.1
|
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(File::Copy)
|
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
BuildRequires: perl(Module::Metadata)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
|
|
# Run-time:
|
|
|
|
|
# Authen::NTLM 1.02 not used at tests
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
# Data::Dump 1.13 not used at tests
|
|
|
|
|
# Data::Dump::Trace not used at tests
|
|
|
|
@ -34,32 +37,32 @@ BuildRequires: perl(Digest::MD5)
|
|
|
|
|
BuildRequires: perl(Encode) >= 2.12
|
|
|
|
|
BuildRequires: perl(Encode::Locale)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
# Fcntl not used at tests
|
|
|
|
|
# File::Listing 6 not used at tests
|
|
|
|
|
# File::Spec not used at tests
|
|
|
|
|
BuildRequires: perl(HTML::Entities)
|
|
|
|
|
BuildRequires: perl(HTML::HeadParser) => 3.71
|
|
|
|
|
BuildRequires: perl(HTML::HeadParser)
|
|
|
|
|
BuildRequires: perl(HTTP::Config)
|
|
|
|
|
BuildRequires: perl(HTTP::Cookies) >= 6
|
|
|
|
|
BuildRequires: perl(HTTP::Date) >= 6
|
|
|
|
|
BuildRequires: perl(HTTP::Headers::Util)
|
|
|
|
|
# HTTP::Negotiate 6 not used at tests
|
|
|
|
|
BuildRequires: perl(HTTP::Request) >= 6.18
|
|
|
|
|
BuildRequires: perl(HTTP::Request::Common) >= 6.18
|
|
|
|
|
BuildRequires: perl(HTTP::Response) >= 6.18
|
|
|
|
|
BuildRequires: perl(HTTP::Status) >= 6.18
|
|
|
|
|
BuildRequires: perl(HTTP::Request) >= 6
|
|
|
|
|
BuildRequires: perl(HTTP::Request::Common) >= 6
|
|
|
|
|
BuildRequires: perl(HTTP::Response) >= 6
|
|
|
|
|
BuildRequires: perl(HTTP::Status) >= 6.07
|
|
|
|
|
# Tests fail with buggy HTTP::Status 6.17
|
|
|
|
|
BuildConflicts: perl(HTTP::Status) = 6.17
|
|
|
|
|
# integer not used at tests
|
|
|
|
|
BuildRequires: perl(IO::Select)
|
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
|
BuildRequires: perl(LWP::MediaTypes) >= 6
|
|
|
|
|
# Mail::Internet not needed
|
|
|
|
|
BuildRequires: perl(MIME::Base64) >= 2.1
|
|
|
|
|
BuildRequires: perl(Module::Load)
|
|
|
|
|
# Net::FTP 2.58 not used at tests
|
|
|
|
|
BuildRequires: perl(Net::HTTP) >= 6.18
|
|
|
|
|
# Net::NNTP not used at tests
|
|
|
|
|
BuildRequires: perl(parent) >= 0.217
|
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
|
BuildRequires: perl(URI) >= 1.10
|
|
|
|
@ -73,8 +76,8 @@ BuildRequires: perl(WWW::RobotRules) >= 6
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(HTTP::CookieJar::LWP)
|
|
|
|
|
BuildRequires: perl(HTTP::Daemon) >= 6.01
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
@ -92,6 +95,7 @@ BuildRequires: perl(Test::LeakTrace)
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Authen::NTLM) >= 1.02
|
|
|
|
|
Suggests: perl(CPAN::Config)
|
|
|
|
|
Requires: perl(Encode) >= 2.12
|
|
|
|
@ -109,10 +113,10 @@ Requires: perl(HTTP::Cookies) >= 6
|
|
|
|
|
Requires: perl(HTTP::Date) >= 6
|
|
|
|
|
Requires: perl(HTTP::Headers::Util)
|
|
|
|
|
Requires: perl(HTTP::Negotiate) >= 6
|
|
|
|
|
Requires: perl(HTTP::Request) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Request::Common) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Response) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Status) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Request) >= 6
|
|
|
|
|
Requires: perl(HTTP::Request::Common) >= 6
|
|
|
|
|
Requires: perl(HTTP::Response) >= 6
|
|
|
|
|
Requires: perl(HTTP::Status) >= 6.07
|
|
|
|
|
Requires: perl(LWP::MediaTypes) >= 6
|
|
|
|
|
Suggests: perl(LWP::Protocol::https) >= 6.02
|
|
|
|
|
Requires: perl(MIME::Base64) >= 2.1
|
|
|
|
@ -141,17 +145,15 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: coreutils
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
Requires: perl(HTTP::Cookies) >= 6
|
|
|
|
|
Requires: perl(HTTP::CookieJar::LWP)
|
|
|
|
|
Requires: perl(HTTP::Daemon) >= 6.01
|
|
|
|
|
Requires: perl(HTTP::Request) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Response) >= 6.18
|
|
|
|
|
Requires: perl(HTTP::Request) >= 6
|
|
|
|
|
Requires: perl(HTTP::Response) >= 6
|
|
|
|
|
Requires: perl(Net::HTTP) >= 6.18
|
|
|
|
|
Requires: perl(Test::More) >= 0.96
|
|
|
|
|
%if %{with perl_libwww_perl_enables_internet_test} && %{with perl_libwww_perl_enables_optional_test}
|
|
|
|
|
Requires: perl(Test::LeakTrace)
|
|
|
|
|
%endif
|
|
|
|
|
Requires: perl(URI) >= 1.10
|
|
|
|
|
Suggests: perl(JSON::PP) => 2.27300
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
@ -159,7 +161,7 @@ with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n libwww-perl-%{version}
|
|
|
|
|
%patch -P 0 -p1
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%if !%{with perl_libwww_perl_enables_internet_test}
|
|
|
|
|
rm t/base/protocols/nntp.t t/leak/no_leak.t t/redirect.t
|
|
|
|
|
perl -i -ne 'print $_ unless m{^(?:t/base/protocols/nntp\.t|t/leak/no_leak\.t|t/redirect\.t)}' MANIFEST
|
|
|
|
@ -177,7 +179,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --aliases < /de
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
# Install tests
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
cp -a t talk-to-ourself %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
@ -203,7 +205,9 @@ make test
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes examples README.SSL
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{perl_vendorlib}/libwww/
|
|
|
|
|
%{perl_vendorlib}/LWP.pm
|
|
|
|
|
%{perl_vendorlib}/LWP/
|
|
|
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
@ -211,105 +215,12 @@ make test
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.76-3
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 6.76-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.76-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Michal Josef Špaček <mspacek@redhat.com> - 6.76-1
|
|
|
|
|
- 6.76 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jan 23 2024 Michal Josef Špaček <mspacek@redhat.com> - 6.74-1
|
|
|
|
|
- 6.74 bump
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.73-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2024 Michal Josef Špaček <mspacek@redhat.com> - 6.73-1
|
|
|
|
|
- 6.73 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.72-1
|
|
|
|
|
- 6.72 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.71-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 22 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.71-1
|
|
|
|
|
- 6.71 bump
|
|
|
|
|
|
|
|
|
|
* Tue May 16 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.70-1
|
|
|
|
|
- 6.70 bump
|
|
|
|
|
- Fix %patch macro
|
|
|
|
|
|
|
|
|
|
* Wed Mar 01 2023 Michal Josef Špaček <mspacek@redhat.com> - 6.68-1
|
|
|
|
|
- 6.68 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.67-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 25 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.67-3
|
|
|
|
|
- Update license to SPDX format
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.67-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 16 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.67-1
|
|
|
|
|
- 6.67 bump
|
|
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 6.66-2
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 19 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.66-1
|
|
|
|
|
- 6.66 bump
|
|
|
|
|
|
|
|
|
|
* Tue May 10 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.65-1
|
|
|
|
|
- 6.65 bump
|
|
|
|
|
|
|
|
|
|
* Wed Apr 27 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.64-1
|
|
|
|
|
- 6.64 bump
|
|
|
|
|
|
|
|
|
|
* Tue Apr 26 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.63-1
|
|
|
|
|
- 6.63 bump
|
|
|
|
|
|
|
|
|
|
* Tue Apr 05 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.62-1
|
|
|
|
|
- 6.62 bump
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Michal Josef Špaček <mspacek@redhat.com> - 6.61-1
|
|
|
|
|
- 6.61 bump
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.60-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.60-1
|
|
|
|
|
- 6.60 bump
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.58-1
|
|
|
|
|
- 6.58 bump
|
|
|
|
|
|
|
|
|
|
* Tue Sep 21 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.57-1
|
|
|
|
|
- 6.57 bump
|
|
|
|
|
|
|
|
|
|
* Fri Aug 20 2021 Jitka Plesnikova <jplesnik@redhat.com> - 6.56-1
|
|
|
|
|
- 6.56 bump
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.55-2
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 18 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.55-1
|
|
|
|
|
- 6.55 bump
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 6.54-2
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.53-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu May 06 2021 Michal Josef Špaček <mspacek@redhat.com> - 6.54-1
|
|
|
|
|
- 6.54 bump
|
|
|
|
|
- Unify build root to macro usage only
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.53-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 09 2021 Petr Pisar <ppisar@redhat.com> - 6.53-2
|
|
|
|
|
- Package talk-to-ourself script with the tests
|
|
|
|
|