8
0
forked from pool/perl-RPC-XML

Accepting request 726176 from devel:languages:perl:autoupdate

OBS-URL: https://build.opensuse.org/request/show/726176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=33
This commit is contained in:
2019-08-26 14:25:21 +00:00
committed by Git OBS Bridge
parent 30a8d54189
commit 0dc5f8a227
8 changed files with 60 additions and 82 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-RPC-XML
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,36 +12,33 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-RPC-XML
Version: 0.79
Version: 0.80
Release: 0
%define cpan_name RPC-XML
Summary: Set of Classes for Core Data, Message and Xml Handling
License: Artistic-1.0 or GPL-1.0+
Summary: Set of classes for core data, message and XML handling
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/RPC-XML/
Source0: http://www.cpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-0.79.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: RPC-XML-0.60-rev127.dif
Patch1: RPC-XML-0.76-extern_ent.dif
Patch2: RPC-XML-0.77-fixtest.dif
Patch3: RPC-XML-0.78-reproducible.diff
Patch0: RPC-XML-0.77-fixtest.dif
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(LWP) >= 5.834
BuildRequires: perl(Module::Load) >= 0.24
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(Scalar::Util) >= 1.33
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(XML::Parser) >= 2.31
Requires: perl(LWP) >= 5.834
Requires: perl(Module::Load) >= 0.24
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(Scalar::Util) >= 1.33
Requires: perl(Test::More) >= 0.94
Requires: perl(XML::Parser) >= 2.31
Recommends: perl(Compress::Raw::Zlib) >= 2.063
@@ -68,17 +65,14 @@ respectively.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
##%patch0
%patch1
%patch2 -p1
%patch3 -p1
%patch0 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install