|
|
40a1b7 |
Name: perl-Net-HTTP
|
|
|
40a1b7 |
Version: 6.06
|
|
|
40a1b7 |
Release: 2%{?dist}
|
|
|
40a1b7 |
Summary: Low-level HTTP connection (client)
|
|
|
40a1b7 |
License: GPL+ or Artistic
|
|
|
40a1b7 |
Group: Development/Libraries
|
|
|
40a1b7 |
URL: http://search.cpan.org/dist/Net-HTTP/
|
|
|
40a1b7 |
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-%{version}.tar.gz
|
|
|
40a1b7 |
BuildArch: noarch
|
|
|
40a1b7 |
BuildRequires: perl
|
|
|
40a1b7 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
40a1b7 |
BuildRequires: perl(Getopt::Long)
|
|
|
40a1b7 |
# Run-time:
|
|
|
40a1b7 |
BuildRequires: perl(Carp)
|
|
|
40a1b7 |
BuildRequires: perl(Compress::Raw::Zlib)
|
|
|
40a1b7 |
BuildRequires: perl(IO::Select)
|
|
|
40a1b7 |
BuildRequires: perl(IO::Socket::INET)
|
|
|
40a1b7 |
BuildRequires: perl(IO::Socket::SSL) >= 1.38
|
|
|
40a1b7 |
BuildRequires: perl(IO::Uncompress::Gunzip)
|
|
|
40a1b7 |
BuildRequires: perl(Symbol)
|
|
|
40a1b7 |
# Tests only:
|
|
|
40a1b7 |
BuildRequires: perl(Data::Dumper)
|
|
|
40a1b7 |
BuildRequires: perl(Socket)
|
|
|
40a1b7 |
BuildRequires: perl(Test)
|
|
|
40a1b7 |
BuildRequires: perl(Test::More)
|
|
|
40a1b7 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
40a1b7 |
Requires: perl(Compress::Raw::Zlib)
|
|
|
40a1b7 |
Requires: perl(IO::Uncompress::Gunzip)
|
|
|
40a1b7 |
Requires: perl(IO::Select)
|
|
|
40a1b7 |
Requires: perl(IO::Socket::INET)
|
|
|
40a1b7 |
Requires: perl(Symbol)
|
|
|
40a1b7 |
# Recommended
|
|
|
40a1b7 |
Requires: perl(IO::Socket::SSL) >= 1.38
|
|
|
40a1b7 |
Conflicts: perl-libwww-perl < 6
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%description
|
|
|
40a1b7 |
The Net::HTTP class is a low-level HTTP client. An instance of the
|
|
|
40a1b7 |
Net::HTTP class represents a connection to an HTTP server. The HTTP
|
|
|
40a1b7 |
protocol is described in RFC 2616. The Net::HTTP class supports HTTP/1.0
|
|
|
40a1b7 |
and HTTP/1.1.
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%prep
|
|
|
40a1b7 |
%setup -q -n Net-HTTP-%{version}
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%build
|
|
|
40a1b7 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
40a1b7 |
make %{?_smp_mflags}
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%install
|
|
|
40a1b7 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
40a1b7 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
40a1b7 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%check
|
|
|
40a1b7 |
make test
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%files
|
|
|
40a1b7 |
%doc Changes README
|
|
|
40a1b7 |
%{perl_vendorlib}/*
|
|
|
40a1b7 |
%{_mandir}/man3/*
|
|
|
40a1b7 |
|
|
|
40a1b7 |
%changelog
|
|
|
40a1b7 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.06-2
|
|
|
40a1b7 |
- Mass rebuild 2013-12-27
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Mon Mar 11 2013 Petr Pisar <ppisar@redhat.com> - 6.06-1
|
|
|
40a1b7 |
- 6.06 bump
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Fri Mar 08 2013 Petr Pisar <ppisar@redhat.com> - 6.05-3
|
|
|
40a1b7 |
- Handle IO::Socket::SSL as non-blocking (bug #768394)
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.05-2
|
|
|
40a1b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Tue Nov 13 2012 Petr Pisar <ppisar@redhat.com> - 6.05-1
|
|
|
40a1b7 |
- 6.05 bump
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Fri Nov 09 2012 Petr Pisar <ppisar@redhat.com> - 6.04-1
|
|
|
40a1b7 |
- 6.04 bump
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Mon Aug 13 2012 Petr Pisar <ppisar@redhat.com> - 6.03-4
|
|
|
40a1b7 |
- Specify all dependencies
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.03-3
|
|
|
40a1b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 6.03-2
|
|
|
40a1b7 |
- Perl 5.16 rebuild
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 6.03-1
|
|
|
40a1b7 |
- 6.03 bump: Restore blocking override for Net::SSL (RT #72790)
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.02-2
|
|
|
40a1b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Tue Nov 22 2011 Petr Pisar <ppisar@redhat.com> - 6.02-1
|
|
|
40a1b7 |
- 6.02 bump
|
|
|
40a1b7 |
- Fixes HTTPS time-out in LWP::UserAgent/IO::Socket::SSL (bug #750793)
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 6.01-2
|
|
|
40a1b7 |
- Perl mass rebuild
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Mon Apr 18 2011 Petr Pisar <ppisar@redhat.com> - 6.01-1
|
|
|
40a1b7 |
- 6.01 bump
|
|
|
40a1b7 |
|
|
|
40a1b7 |
* Thu Mar 17 2011 Petr Pisar <ppisar@redhat.com> 6.00-1
|
|
|
40a1b7 |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
40a1b7 |
- Remove BuildRoot stuff
|
|
|
40a1b7 |
- Conflicts with perl-libwww-perl-5* and older
|