2011-11-01 10:09:09 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-LWP-Protocol-http10
|
|
|
|
#
|
2024-07-24 19:24:24 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-11-01 10:09:09 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2024-07-24 19:24:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-11-01 10:09:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-07-24 19:24:24 +00:00
|
|
|
%define cpan_name LWP-Protocol-http10
|
2011-11-01 10:09:09 +00:00
|
|
|
Name: perl-LWP-Protocol-http10
|
2024-07-24 19:24:24 +00:00
|
|
|
Version: 6.30.0
|
2011-11-01 10:09:09 +00:00
|
|
|
Release: 0
|
2024-07-24 19:24:24 +00:00
|
|
|
# 6.03 -> normalize -> 6.30.0
|
|
|
|
%define cpan_version 6.03
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2011-11-01 10:09:09 +00:00
|
|
|
Summary: Legacy HTTP/1.0 support for LWP
|
2024-07-24 19:24:24 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{cpan_version}.tar.gz
|
2025-08-12 18:15:12 +02:00
|
|
|
Source100: README.md
|
2015-04-15 07:10:17 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2011-11-01 10:09:09 +00:00
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(HTTP::Response) >= 6
|
|
|
|
BuildRequires: perl(HTTP::Status) >= 6
|
2015-04-15 07:10:17 +00:00
|
|
|
BuildRequires: perl(LWP::Protocol) >= 6
|
2011-11-01 10:09:09 +00:00
|
|
|
Requires: perl(HTTP::Response) >= 6
|
|
|
|
Requires: perl(HTTP::Status) >= 6
|
2015-04-15 07:10:17 +00:00
|
|
|
Requires: perl(LWP::Protocol) >= 6
|
2024-07-24 19:24:24 +00:00
|
|
|
Provides: perl(LWP::Protocol::http10) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-15 07:10:17 +00:00
|
|
|
%{perl_requires}
|
2011-11-01 10:09:09 +00:00
|
|
|
|
|
|
|
%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.
|
2015-04-15 07:10:17 +00:00
|
|
|
|
2011-11-01 10:09:09 +00:00
|
|
|
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
|
2024-07-24 19:24:24 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2011-11-01 10:09:09 +00:00
|
|
|
|
|
|
|
%build
|
2024-07-24 19:24:24 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%make_build
|
2015-04-15 07:10:17 +00:00
|
|
|
|
|
|
|
%check
|
2024-07-24 19:24:24 +00:00
|
|
|
make test
|
2011-11-01 10:09:09 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2015-04-15 07:10:17 +00:00
|
|
|
%perl_gen_filelist
|
2011-11-01 10:09:09 +00:00
|
|
|
|
2015-04-15 07:10:17 +00:00
|
|
|
%files -f %{name}.files
|
2011-11-01 10:09:09 +00:00
|
|
|
%doc Changes README
|
|
|
|
|
|
|
|
%changelog
|