1
0
forked from perl/perl-Net-HTTP

- updated to 6.02

* Don't disable blocking method [RT#72580]
 * Don't stop on unrecognized Makefile.PL arguments [RT#68337]
 * Document Net:HTTPS [RT#71599]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-HTTP?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2012-02-13 14:14:09 +00:00
committed by Git OBS Bridge
parent e5569defcc
commit 686867db15
4 changed files with 24 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Net-HTTP
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,32 +16,31 @@
#
Name: perl-Net-HTTP
Version: 6.02
Release: 0
%define cpan_name Net-HTTP
Summary: Low-level HTTP connection (client)
Version: 6.01
Release: 1
License: GPL-1.0+ or Artistic-1.0
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Net-HTTP/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Compress::Raw::Zlib)
BuildRequires: perl(IO::Compress::Gzip)
BuildRequires: perl(IO::Select)
BuildRequires: perl(IO::Socket::INET)
#BuildRequires: perl(IO::Socket::SSL)
#BuildRequires: perl(IO::Uncompress::Gunzip)
#BuildRequires: perl(Net::HTTP)
#BuildRequires: perl(Net::HTTP::Methods)
#BuildRequires: perl(Net::HTTPS)
#BuildRequires: perl(Net::SSL)
Requires: perl(Compress::Raw::Zlib)
Requires: perl(IO::Compress::Gzip)
Requires: perl(IO::Select)
Requires: perl(IO::Socket::INET)
%{perl_requires}
%if 0%{?suse_version} > 1010
Recommends: perl(IO::Socket::SSL) >= 1.38
%endif
%{perl_requires}
%description
The 'Net::HTTP' class is a low-level HTTP client. An instance of the
@@ -68,11 +67,8 @@ not necessary a good idea, unless you know what you are doing.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes README
%changelog