352216
Name:           perl-LWP-Protocol-https
352216
Version:        6.04
352216
Release:        4%{?dist}
352216
Summary:        Provide HTTPS support for LWP::UserAgent
352216
License:        GPL+ or Artistic
352216
Group:          Development/Libraries
352216
URL:            http://search.cpan.org/dist/LWP-Protocol-https/
352216
Source0:        http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
352216
BuildArch:      noarch
352216
BuildRequires:  perl
352216
BuildRequires:  perl(ExtUtils::MakeMaker)
352216
BuildRequires:  perl(Getopt::Long)
352216
BuildRequires:  perl(strict)
352216
# Run-requires
352216
BuildRequires:  perl(IO::Socket::SSL) >= 1.54
352216
BuildRequires:  perl(LWP::Protocol::http)
352216
BuildRequires:  perl(Mozilla::CA) >= 20110101
352216
BuildRequires:  perl(Net::HTTPS) >= 6
352216
# Tests
352216
BuildRequires:  perl(LWP::UserAgent) >= 6.04
352216
BuildRequires:  perl(Test::More)
352216
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
352216
Requires:       perl(IO::Socket::SSL) >= 1.54
352216
Requires:       perl(Mozilla::CA) >= 20110101
352216
Requires:       perl(Net::HTTPS) >= 6
352216
352216
# Remove underspecified dependencies
352216
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Net::HTTPS\\)\\s*$
352216
352216
%description
352216
The LWP::Protocol::https module provides support for using HTTPS schemed
352216
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
352216
you don't use it directly. Once the module is installed LWP is able to
352216
access sites using HTTP over SSL/TLS.
352216
352216
%prep
352216
%setup -q -n LWP-Protocol-https-%{version}
352216
352216
%build
352216
perl Makefile.PL INSTALLDIRS=vendor
352216
make %{?_smp_mflags}
352216
352216
%install
352216
make pure_install DESTDIR=$RPM_BUILD_ROOT
352216
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
352216
%{_fixperms} $RPM_BUILD_ROOT/*
352216
352216
%check
352216
make test
352216
352216
%files
352216
%doc Changes README
352216
%{perl_vendorlib}/*
352216
%{_mandir}/man3/*
352216
352216
%changelog
352216
* Thu Jan 16 2014 Petr Pisar <ppisar@redhat.com> - 6.04-4
352216
- Modernize spec file
352216
352216
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.04-3
352216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
352216
352216
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 6.04-2
352216
- Perl 5.18 rebuild
352216
352216
* Thu May 02 2013 Petr Pisar <ppisar@redhat.com> - 6.04-1
352216
- 6.04 bump
352216
352216
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-4
352216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
352216
352216
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3
352216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
352216
352216
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2
352216
- Perl 5.16 rebuild
352216
352216
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
352216
- 6.03 bump
352216
- Enable tests by default, they detect connectivity now
352216
352216
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-5
352216
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
352216
352216
* Mon Jul 25 2011 Petr Pisar <ppisar@redhat.com> - 6.02-4
352216
- RPM 4.9 dependency filtering added
352216
352216
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 6.02-3
352216
- Perl mass rebuild
352216
352216
* Tue Mar 29 2011 Petr Pisar <ppisar@redhat.com> - 6.02-2
352216
- Disable tests because they need network access
352216
352216
* Mon Mar 28 2011 Petr Pisar <ppisar@redhat.com> 6.02-1
352216
- Specfile autogenerated by cpanspec 1.78.
352216
- Remove BuildRoot stuff