Compare commits
No commits in common. "c8-stream-6.34" and "c9-beta" have entirely different histories.
c8-stream-
...
c9-beta
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/LWP-Protocol-https-6.07.tar.gz
|
||||
SOURCES/LWP-Protocol-https-6.10.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
2517535f40d6a5a4a1524f3a7bedf0a1763871de SOURCES/LWP-Protocol-https-6.07.tar.gz
|
||||
d20775d8b08a24a77ffef153b8d10e4e9cd664db SOURCES/LWP-Protocol-https-6.10.tar.gz
|
||||
|
@ -1,11 +1,13 @@
|
||||
# Perform tests that need the Internet
|
||||
%bcond_with perl_LWP_Protocol_https_enables_internet_test
|
||||
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.07
|
||||
Version: 6.10
|
||||
Release: 4%{?dist}
|
||||
Summary: Provide HTTPS support for LWP::UserAgent
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/LWP-Protocol-https/
|
||||
Source0: http://www.cpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/LWP-Protocol-https
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz
|
||||
# Fix CVE-2014-3230, bug #1094442,
|
||||
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
|
||||
Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch
|
||||
@ -13,33 +15,39 @@ Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-
|
||||
# proposed in https://github.com/libwww-perl/lwp-protocol-https/pull/14
|
||||
Patch1: LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: findutils
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.8.1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||
BuildRequires: perl(LWP::Protocol::http)
|
||||
BuildRequires: perl(Mozilla::CA) >= 20110101
|
||||
BuildRequires: perl(LWP::Protocol::http::SocketMethods)
|
||||
BuildRequires: perl(Mozilla::CA) >= 20180117
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
# Tests:
|
||||
BuildRequires: perl(blib)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
BuildRequires: perl(IO::Select)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.06
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
%if %{with perl_LWP_Protocol_https_enables_internet_test}
|
||||
BuildRequires: perl(Test::RequiresInternet)
|
||||
BuildRequires: perl(warnings)
|
||||
%endif
|
||||
# Optional tests:
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.953
|
||||
BuildRequires: perl(IO::Socket::SSL::Utils)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||
Requires: perl(Mozilla::CA) >= 20110101
|
||||
Requires: perl(Mozilla::CA) >= 20180117
|
||||
Requires: perl(Net::HTTPS) >= 6
|
||||
|
||||
# Remove underspecified dependencies
|
||||
@ -55,25 +63,75 @@ access sites using HTTP over SSL/TLS.
|
||||
%setup -q -n LWP-Protocol-https-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%if !%{with perl_LWP_Protocol_https_enables_internet_test}
|
||||
rm t/apache.t
|
||||
perl -i -ne 'print $_ unless m{^t/apache.t}' MANIFEST
|
||||
%endif
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1 INSTALLDIRS=vendor
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.10-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.10-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.10-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Dec 18 2020 Petr Pisar <ppisar@redhat.com> - 6.10-1
|
||||
- 6.10 bump
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.09-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 20 2020 Petr Pisar <ppisar@redhat.com> - 6.09-2
|
||||
- Remove unused build-time dependencies
|
||||
|
||||
* Fri Jul 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.09-1
|
||||
- 6.09 bump
|
||||
|
||||
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-12
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Fri Feb 14 2020 Petr Pisar <ppisar@redhat.com> - 6.07-11
|
||||
- Disable tests that need the Internet by default
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-8
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.07-5
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.07-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user