From 35221648896a3598a21a6116645068510efac2cf Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jan 21 2014 08:40:41 +0000 Subject: import perl-LWP-Protocol-https-6.04-4.el7.src.rpm --- diff --git a/.perl-LWP-Protocol-https.metadata b/.perl-LWP-Protocol-https.metadata new file mode 100644 index 0000000..58cbe50 --- /dev/null +++ b/.perl-LWP-Protocol-https.metadata @@ -0,0 +1 @@ +5a63cb409ff4ba34006d5a45120e7facc52dc837 SOURCES/LWP-Protocol-https-6.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-LWP-Protocol-https.spec b/SPECS/perl-LWP-Protocol-https.spec new file mode 100644 index 0000000..9b80315 --- /dev/null +++ b/SPECS/perl-LWP-Protocol-https.spec @@ -0,0 +1,96 @@ +Name: perl-LWP-Protocol-https +Version: 6.04 +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/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(strict) +# Run-requires +BuildRequires: perl(IO::Socket::SSL) >= 1.54 +BuildRequires: perl(LWP::Protocol::http) +BuildRequires: perl(Mozilla::CA) >= 20110101 +BuildRequires: perl(Net::HTTPS) >= 6 +# Tests +BuildRequires: perl(LWP::UserAgent) >= 6.04 +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(IO::Socket::SSL) >= 1.54 +Requires: perl(Mozilla::CA) >= 20110101 +Requires: perl(Net::HTTPS) >= 6 + +# Remove underspecified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$ + +%description +The LWP::Protocol::https module provides support for using HTTPS schemed +URLs with LWP. This module is a plug-in to the LWP protocol handling, so +you don't use it directly. Once the module is installed LWP is able to +access sites using HTTP over SSL/TLS. + +%prep +%setup -q -n LWP-Protocol-https-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Jan 16 2014 Petr Pisar - 6.04-4 +- Modernize spec file + +* Sat Aug 03 2013 Fedora Release Engineering - 6.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 23 2013 Petr Pisar - 6.04-2 +- Perl 5.18 rebuild + +* Thu May 02 2013 Petr Pisar - 6.04-1 +- 6.04 bump + +* Thu Feb 14 2013 Fedora Release Engineering - 6.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 6.03-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 15 2012 Petr Pisar - 6.03-2 +- Perl 5.16 rebuild + +* Mon Feb 20 2012 Petr Pisar - 6.03-1 +- 6.03 bump +- Enable tests by default, they detect connectivity now + +* Fri Jan 13 2012 Fedora Release Engineering - 6.02-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jul 25 2011 Petr Pisar - 6.02-4 +- RPM 4.9 dependency filtering added + +* Fri Jun 17 2011 Marcela Mašláňová - 6.02-3 +- Perl mass rebuild + +* Tue Mar 29 2011 Petr Pisar - 6.02-2 +- Disable tests because they need network access + +* Mon Mar 28 2011 Petr Pisar 6.02-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot stuff