1
0
Stephan Kulow 2015-04-22 14:07:37 +00:00 committed by Git OBS Bridge
parent 75686d6b97
commit 5e642a6b6a
6 changed files with 166 additions and 43 deletions

22
cpanspec.yml Normal file
View File

@ -0,0 +1,22 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
preamble: |-
Recommends: perl(LWP::Protocol::https) >= 6.06
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module

View File

@ -1,13 +0,0 @@
Index: libwww-perl-5.837/lib/LWP/Protocol/GHTTP.pm
===================================================================
--- libwww-perl-5.837.orig/lib/LWP/Protocol/GHTTP.pm 2008-04-11 20:59:19.000000000 +0200
+++ libwww-perl-5.837/lib/LWP/Protocol/GHTTP.pm 2010-12-02 07:29:54.556842082 +0100
@@ -16,7 +16,7 @@ require LWP::Protocol;
require HTTP::Response;
require HTTP::Status;
-use HTTP::GHTTP qw(METHOD_GET METHOD_HEAD METHOD_POST);
+# dropped long ago use HTTP::GHTTP qw(METHOD_GET METHOD_HEAD METHOD_POST);
my %METHOD =
(

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b25799ff7eec18e8e4e97dc0cad7b2a5b433b50b13feb59d9179173bee78f23
size 132505

3
libwww-perl-6.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fbd13eebd1933e5a203fceb2c1629efbccff3efc8fab6ec0285c79d0a95f8b2
size 134807

View File

@ -1,3 +1,130 @@
-------------------------------------------------------------------
Wed Apr 22 14:04:33 UTC 2015 - coolo@suse.com
- disable disable-ghttp.diff
-------------------------------------------------------------------
Wed Apr 22 14:03:40 UTC 2015 - coolo@suse.com
- updated to 6.13
see /usr/share/doc/packages/perl-libwww-perl/Changes
2015-02-14 Release 6.13
Karen Etheridge (1):
- fixed Makefile.PL compatibility with older ExtUtils::MakeMaker (from
release 6.12)
_______________________________________________________________________________
2015-02-13 Release 6.12
Karen Etheridge (1):
- fixed prereq declarations in release 6.11
_______________________________________________________________________________
2015-02-13 Release 6.11
Graham Knop (1):
- cleanup of the test running mechanism; allowing greater flexibility and
should also resolve RT#102083
_______________________________________________________________________________
2015-02-12 Release 6.10
Karen Etheridge (1):
- lower runtime prereqs recommendation on LWP::Protocol::https to suggests,
to work around a circular dependency in CPAN clients when the 'install
recommendations' option is enabled (RT#101732)
_______________________________________________________________________________
2015-02-09 Release 6.09
Steffen Ullrich (1):
- checks for EINTR now also check EWOULDBLOCK (they sometimes differ on
MSWin32)
Daina Pettit (1):
- fixed pod syntax
Jason A Fesler (2):
- Fixed checking the % character in address regex
- Improved regex for literal IPv6 addresses
_______________________________________________________________________________
2014-07-24 Release 6.08
Mike Schilli (1):
Requiring Net::HTTP 6.07 to fix IPv6 support
(RT#75618 and https://github.com/libwww-perl/net-http/pull/10)
Jason A Fesler (2):
When the hostname is an IPv6 literal, encapsulate it with [brackets]
before calling Net::HTTP [rt.cpan.org #29468]
Extra steps to make sure that the host address that has a ":" contains
only characters appropriate for an IPv6 address.
John Wittkoski (1):
Fix doc typo for cookie_jar
_______________________________________________________________________________
2014-07-01 Release 6.07
Mike Schilli (5):
Removed Data::Dump references in test suite and dependency in Makefile.PL
Added MANIFEST.SKIP to enable "make manifest".
release script now checks for MacOS to avoid incompatible tarballs
Bumped version number to 6.07
Fixed gnu-incompatible tarball problem ([rt.cpan.org #94844])
_______________________________________________________________________________
2014-04-16 Release 6.06
Ville Skyttä (3):
Merge pull request #44 from dsteinbrunner/master
Spelling fixes.
Merge pull request #55 from oalders/master
Karen Etheridge (2):
Merge pull request #38 from mbeijen/typo-sting
Merge pull request #43 from dsteinbrunner/master
David Steinbrunner (2):
Spelling corrections
Olaf Alders (1):
Typo fixes.
Steffen Ullrich (1):
correct behavior for https_proxy,
e.g. don't send plain https:// requests to proxy, but instead establish
CONNECT tunnel and then send requests inside tunnel.
This change does together with a change in LWP::Protocol::https.
The change supports LWP::Protocol::https with the default
IO::Socket::SSL backend, but also with Net::SSL. Also:
- proxy authorization is supported (http://user:pass@host:port as proxy
URL, Net::SSL still needs special HTTPS_PROXY_* environemt variables,
as before)
- CONNECT request does not need to be the first request inside the
tunnel (not with Net::SSL)
- conn_cache is read and written inside request(), instead of writing in
request() and reading in _new_socket(). If a https tunnel is
established the cache_key no longer depends only on proxy host,port
but also on the tunnel endpoint
- CONNECT is a proxy request and must always use Proxy-Authorization,
not Authorization header
turugina (1):
fix: auth-header of Digest auth did not conform to
RFC 2617 when WWW-Authenticate has 'qop' parameter.
Gisle Aas (1):
SSL libs might trigger ENOTTY on read
Michiel Beijen (1):
Small typo.
_______________________________________________________________________________
-------------------------------------------------------------------
Tue Jul 16 09:42:15 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-libwww-perl
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@ -17,20 +17,19 @@
Name: perl-libwww-perl
Version: 6.05
Version: 6.13
Release: 0
%define cpan_name libwww-perl
Summary: The World-Wide-Web library for Perl
License: GPL-1.0+ or Artistic-1.0
Summary: The World-Wide Web library for Perl
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/libwww-perl/
Source: http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-%{version}.tar.gz
# PATCH-FIX-OPENSUSE -- disable one perl requires that would be created automatically and we're unable to provide
Patch0: disable-ghttp.diff
Source0: libwww-perl-6.13.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode) >= 2.12
BuildRequires: perl(Encode::Locale)
BuildRequires: perl(File::Listing) >= 6
BuildRequires: perl(HTML::Entities)
@ -44,11 +43,10 @@ BuildRequires: perl(HTTP::Request::Common) >= 6
BuildRequires: perl(HTTP::Response) >= 6
BuildRequires: perl(HTTP::Status) >= 6
BuildRequires: perl(LWP::MediaTypes) >= 6
BuildRequires: perl(Net::HTTP) >= 6.04
BuildRequires: perl(Net::HTTP) >= 6.07
BuildRequires: perl(URI) >= 1.10
BuildRequires: perl(URI::Escape)
BuildRequires: perl(WWW::RobotRules) >= 6
#
Requires: perl(Encode::Locale)
Requires: perl(File::Listing) >= 6
Requires: perl(HTML::Entities)
@ -62,30 +60,20 @@ Requires: perl(HTTP::Request::Common) >= 6
Requires: perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6
Requires: perl(LWP::MediaTypes) >= 6
Requires: perl(Net::HTTP) >= 6.04
Requires: perl(Net::HTTP) >= 6.07
Requires: perl(URI) >= 1.10
Requires: perl(URI::Escape)
Requires: perl(WWW::RobotRules) >= 6
#
Recommends: perl(Authen::NTML) >= 2.12
Recommends: perl(Data::Dump)
Recommends: perl(IO::Socket::SSL) >= 1.38
Recommends: perl(LWP::Protocol::https) >= 6.02
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(LWP::Protocol::https) >= 6.06
# MANUAL END
%description
The libwww-perl collection is a set of Perl modules which provides a
simple and consistent application programming interface to the
World-Wide Web. The main focus of the library is to provide classes
and functions that allow you to write WWW clients. The library also
contain modules that are of more general use and even classes that
help you implement simple HTTP servers.
The World-Wide Web library for Perl
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0 -p1
find . -type f -print0 | xargs -0 chmod 644
%build
@ -103,6 +91,5 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc AUTHORS Changes README README.SSL talk-to-ourself
%attr(755,root,root) %{_bindir}/*
%changelog