forked from pool/perl-LWP-Protocol-https
Accepting request 106295 from devel:languages:perl
- updated to 6.03 * Skip test if offline [RT#74163] * Typo fixes * Restore perl-5.8.1 compatibility. OBS-URL: https://build.opensuse.org/request/show/106295 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-LWP-Protocol-https?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
3ea7899348
commit
73533b0c69
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-LWP-Protocol-https
|
||||
#
|
||||
# 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,33 +16,34 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.02
|
||||
Release: 1
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Version: 6.03
|
||||
Release: 0
|
||||
%define cpan_name LWP-Protocol-https
|
||||
Summary: Provide https support for LWP::UserAgent
|
||||
Url: http://search.cpan.org/dist/LWP-Protocol-https/
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
#Source: http://www.cpan.org/authors/id/G/GA/GAAS/LWP-Protocol-https-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
# patch for using system certificates
|
||||
Patch0: %{cpan_name}-%{version}-systemca.diff
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.38
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.02
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
Url: http://search.cpan.org/dist/LWP-Protocol-https/
|
||||
Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz
|
||||
# patch for using system certificates
|
||||
Patch0: %{cpan_name}-6.03-systemca.diff
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl(IO::Socket::SSL) >= 1.38
|
||||
Requires: perl(LWP::UserAgent) >= 6.02
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.04
|
||||
#BuildRequires: perl(Mozilla::CA) >= 20110101
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
#BuildRequires: perl(LWP::Protocol::http)
|
||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||
Requires: perl(LWP::UserAgent) >= 6.04
|
||||
#Requires: perl(Mozilla::CA) >= 20110101
|
||||
Requires: perl(Net::HTTPS) >= 6
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
The LWP::Protocol::https module provide support for using https schemed
|
||||
The LWP::Protocol::https module provides support for using https schemed
|
||||
URLs with LWP. This module is a plug-in to the LWP protocol handling, so
|
||||
you don't use it directly. Once the module is installed LWP is able to
|
||||
access sites using HTTP over SSL/TLS.
|
||||
@@ -68,19 +69,15 @@ what underlying modules to install.
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# tests will fail without network
|
||||
#%{__make} test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%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
|
||||
|
Reference in New Issue
Block a user