- updated to 0.82 see /usr/share/doc/packages/perl-RPC-XML/ChangeLog 0.82 Wednesday January 6, 2021, 09:59:00 AM -0800 * Makefile.PL * lib/RPC/XML/Server.pm Bump version numbers. * Makefile.PL * lib/RPC/XML/Server.pm * t/40_server.t * t/40_server_xmllibxml.t * t/41_server_hang.t * t/60_net_server.t * t/util.pl RT #120472: Applied patch from Petr Písař for fixes to IPv6 support. Full detail in the message for this commit in the git repository. 0.81 Tuesday January 5, 2021, 06:33:00 PM -0800 * MANIFEST * perlcritic.rc (added) Add a perlcritic.rc file for testers who run author tests. * t/40_server.t * t/40_server_xmllibxml.t Remove redundant testing and general clean-up. Removed tests of url() that were just re-testing HTTP::Daemon::url(). * lib/RPC/XML/Client.pm Parameterize the request-as-string debug feature. * lib/RPC/XML/Client.pm Merge pull request #13 from enrico-sorcinelli/add-request-string. Added xmlrpc request string as object property. (Enrico Sorcinelli) OBS-URL: https://build.opensuse.org/request/show/928612 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-RPC-XML?expand=0&rev=37
90 lines
3.1 KiB
RPMSpec
90 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package perl-RPC-XML
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name RPC-XML
|
|
Name: perl-RPC-XML
|
|
Version: 0.82
|
|
Release: 0
|
|
Summary: Set of classes for core data, message and XML handling
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
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.77-fixtest.dif
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 7.56
|
|
BuildRequires: perl(HTTP::Daemon) >= 6.12
|
|
BuildRequires: perl(HTTP::Message) >= 6.26
|
|
BuildRequires: perl(IO::Socket::IP)
|
|
BuildRequires: perl(LWP) >= 6.51
|
|
BuildRequires: perl(Module::Load) >= 0.36
|
|
BuildRequires: perl(Scalar::Util) >= 1.55
|
|
BuildRequires: perl(Test::More) >= 1.302183
|
|
BuildRequires: perl(XML::Parser) >= 2.46
|
|
Requires: perl(HTTP::Daemon) >= 6.12
|
|
Requires: perl(HTTP::Message) >= 6.26
|
|
Requires: perl(LWP) >= 6.51
|
|
Requires: perl(Module::Load) >= 0.36
|
|
Requires: perl(Scalar::Util) >= 1.55
|
|
Requires: perl(XML::Parser) >= 2.46
|
|
Recommends: perl(DateTime) >= 1.54
|
|
Recommends: perl(DateTime::Format::ISO8601) >= 0.15
|
|
Recommends: perl(XML::LibXML) >= 2.0206
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: perl(HTTP::Daemon)
|
|
# MANUAL END
|
|
|
|
%description
|
|
The *RPC::XML* package is an implementation of the *XML-RPC* standard. The
|
|
package as a whole provides classes for data, for clients, for servers and
|
|
for parsers (based on the XML::Parser and XML::LibXML packages from CPAN).
|
|
|
|
This module provides a set of classes for creating values to pass to the
|
|
constructors for requests and responses. These are lightweight objects,
|
|
most of which are implemented as blessed scalar references so as to
|
|
associate specific type information with the value. Classes are also
|
|
provided for requests, responses and faults (errors).
|
|
|
|
This module does not actually provide any transport implementation or
|
|
server basis. For these, see RPC::XML::Client and RPC::XML::Server,
|
|
respectively.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version} -p1
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc ChangeLog ChangeLog.xml README README.apache2
|
|
|
|
%changelog
|