Accepting request 180962 from openSUSE:Factory:Staging:perl518

OBS-URL: https://build.opensuse.org/request/show/180962
OBS-URL: https://build.opensuse.org/package/show/network:utilities/wget?expand=0&rev=39
This commit is contained in:
Marcus Meissner 2013-06-26 08:48:34 +00:00 committed by Git OBS Bridge
parent e426f6663a
commit 2e27015f08
3 changed files with 25 additions and 0 deletions

17
wget-fix-pod-syntax.diff Normal file
View File

@ -0,0 +1,17 @@
Index: wget-1.14/doc/texi2pod.pl
===================================================================
--- wget-1.14.orig/doc/texi2pod.pl
+++ wget-1.14/doc/texi2pod.pl
@@ -291,10 +291,10 @@ while(<$inf>) {
if (defined $1) {
my $thing = $1;
if ($ic =~ /\@asis/) {
- $_ = "\n=item $thing\n";
+ $_ = "\n=item Z<>$thing\n";
} else {
# Entity escapes prevent munging by the <> processing below.
- $_ = "\n=item $ic\&LT;$thing\&GT;\n";
+ $_ = "\n=item Z<>$ic\&LT;$thing\&GT;\n";
}
} else {
$_ = "\n=item $ic\n";

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 20 13:29:01 UTC 2013 - coolo@suse.com
- add wget-fix-pod-syntax.diff to fix build with perl 5.18
-------------------------------------------------------------------
Thu May 2 17:50:50 UTC 2013 - p.drouand@gmail.com

View File

@ -29,6 +29,8 @@ Patch0: wgetrc.patch
Patch1: wget-libproxy.patch
Patch5: wget-1.14-openssl-no-intern.patch
Patch6: wget-1.14-no-ssl-comp.patch
# PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 coolo@suse.de
Patch7: wget-fix-pod-syntax.diff
BuildRequires: libpng-devel
%if 0%{suse_version} > 1110
BuildRequires: libproxy-devel
@ -54,6 +56,7 @@ This can be done in script files or via the command line.
%endif
%patch5
%patch6
%patch7 -p1
%build
%if 0%{suse_version} > 1110