predeclare extern_ent so that it works with perl-5.16.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=21
This commit is contained in:
parent
d1f6a4c3a0
commit
2abfb0861c
11
RPC-XML-0.76-extern_ent.dif
Normal file
11
RPC-XML-0.76-extern_ent.dif
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./lib/RPC/XML/Parser/XMLParser.pm.orig 2012-06-04 16:10:31.000000000 +0000
|
||||
+++ ./lib/RPC/XML/Parser/XMLParser.pm 2012-06-04 16:11:04.000000000 +0000
|
||||
@@ -39,7 +39,7 @@ use strict;
|
||||
use warnings;
|
||||
use vars qw($VERSION);
|
||||
use subs qw(error stack_error new message_init message_end tag_start tag_end
|
||||
- final char_data parse);
|
||||
+ final char_data parse extern_ent);
|
||||
use base 'RPC::XML::Parser';
|
||||
|
||||
# I'm not ready to add Readonly to my list of dependencies...
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 18:12:08 CEST 2012 - mls@suse.de
|
||||
|
||||
- predeclare extern_ent so that it works with perl-5.16.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:40:58 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-RPC-XML
|
||||
#
|
||||
# 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,15 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: perl-RPC-XML
|
||||
Version: 0.76
|
||||
Release: 1
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Release: 0
|
||||
%define cpan_name RPC-XML
|
||||
Summary: A set of classes for core data, message and XML handling
|
||||
Url: http://search.cpan.org/dist/RPC-XML/
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/RPC-XML/
|
||||
Source: http://www.cpan.org/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
|
||||
# UNCLEAR
|
||||
Source1: RPC-XML-0.53-ext-daemon-and-header-cb.dif
|
||||
@ -32,14 +31,15 @@ Source1: RPC-XML-0.53-ext-daemon-and-header-cb.dif
|
||||
Source2: RPC-XML-0.60-fix-utf8.dif
|
||||
#PATCH-FIX-OPENSUSE - ro@suse.de - fix build in chroot/buildservice
|
||||
Patch2: RPC-XML-0.60-rev127.dif
|
||||
BuildRequires: perl(constant) >= 1.03
|
||||
Patch3: RPC-XML-0.76-extern_ent.dif
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(File::Spec) >= 0.8
|
||||
BuildRequires: perl(LWP) >= 5.834
|
||||
BuildRequires: perl(Scalar::Util) >= 1.19
|
||||
BuildRequires: perl(XML::LibXML) >= 1.70
|
||||
BuildRequires: perl(XML::Parser) >= 2.31
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(constant) >= 1.03
|
||||
Requires: perl(constant) >= 1.03
|
||||
Requires: perl(File::Spec) >= 0.8
|
||||
Requires: perl(LWP) >= 5.834
|
||||
@ -67,6 +67,7 @@ RPC::XML::Server manpage, respectively.
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch2 -p0
|
||||
%patch3
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
|
Loading…
x
Reference in New Issue
Block a user