# # spec file for package perl-LWP-Protocol-http10 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-LWP-Protocol-http10 Version: 6.03 Release: 1.16 %define cpan_name LWP-Protocol-http10 Summary: Legacy HTTP/1.0 support for LWP License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/LWP-Protocol-http10/ 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(HTTP::Response) >= 6 BuildRequires: perl(HTTP::Status) >= 6 BuildRequires: perl(LWP::Protocol) >= 6 Requires: perl(HTTP::Response) >= 6 Requires: perl(HTTP::Status) >= 6 Requires: perl(LWP::Protocol) >= 6 %{perl_requires} %description The LWP::Protocol::http10 module provide support for using HTTP/1.0 protocol with LWP. To use it you need to call LWP::Protocol::implementor() to override the standard handler for http URLs. This module used to be bundled with the libwww-perl, but it was unbundled in v6.02 as part of the general cleanup for the 6-series. LWP::Protocol::http10 is deprecated. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %changelog * Tue Apr 14 2015 coolo@suse.com - updated to 6.03 see /usr/share/doc/packages/perl-LWP-Protocol-http10/Changes 2012-02-18 LWP-Protocol-http10 6.03 Restore perl-5.8.1 compatiblity. _______________________________________________________________________________ * Tue Nov 1 2011 pascal.bleser@opensuse.org - initial version (6.02)