commit fd06e500d8660a1b0bf62ce59c912ce7714f632a
Author: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Thu May 1 18:28:05 2014 -0600
revert to perl-RPC-XML-0.69-4 (e1ce9eb)
This is the newest version of perl-RPC-XML that supports RHEL 6's LWP
v5.833.
.gitignore | 3 -
RPC-XML-0.77-hash_key_ordering.patch | 121 ----------------------------
perl-RPC-XML.spec | 147 +++++++++-------------------------
sources | 2 +-
4 files changed, 40 insertions(+), 233 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a87831..7bfa86e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1 @@
RPC-XML-0.69.tar.gz
-/RPC-XML-0.74.tar.gz
-/RPC-XML-0.76.tar.gz
-/RPC-XML-0.77.tar.gz
diff --git a/perl-RPC-XML.spec b/perl-RPC-XML.spec
index 4987ea6..e1d7cda 100644
--- a/perl-RPC-XML.spec
+++ b/perl-RPC-XML.spec
@@ -1,82 +1,45 @@
-%global cpan_name RPC-XML
-
-%{!?perl_default_filter: %global perl_default_filter
-%filter_provides_in %{perl_vendorarch}/.*\\.so$
-%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$
-%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d
-%filter_provides_in %{_docdir}
-%filter_requires_in %{_docdir}
-%filter_setup}
-
-Name: perl-%{cpan_name}
-Version: 0.77
+%define real_name RPC-XML
+
+Name: perl-RPC-XML
+Version: 0.69
Release: 4%{?dist}
Summary: Set of classes for core data, message and XML handling
+
Group: Development/Libraries
License: Artistic 2.0 or LGPLv2
-URL:
http://search.cpan.org/dist/%{cpan_name}/
-Source0:
http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}...
+URL:
http://search.cpan.org/dist/RPC-XML/
+
+Source0:
http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/RPC-XML-%{version}.tar.gz
Source1: README.license
-# Adjust tests for perl 5.18, CPAN RT#86187,
-# from <
https://github.com/rjray/rpc-xml.git>
-Patch0: RPC-XML-0.77-hash_key_ordering.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(LWP) >= 5.801
+BuildRequires: perl(Test::More)
+BuildRequires: perl(XML::Parser) >= 2.31
BuildRequires: perl(File::Spec) >= 0.8
-# Run-time without Apache stuff:
-BuildRequires: perl(base)
-BuildRequires: perl(Carp)
-BuildRequires: perl(constant) >= 1.03
-BuildRequires: perl(Exporter)
-BuildRequires: perl(File::Temp)
-BuildRequires: perl(HTTP::Daemon)
-BuildRequires: perl(HTTP::Request)
-BuildRequires: perl(HTTP::Response)
-BuildRequires: perl(HTTP::Status)
-BuildRequires: perl(IO::Handle)
-BuildRequires: perl(LWP::UserAgent)
-BuildRequires: perl(MIME::Base64)
BuildRequires: perl(Scalar::Util) >= 1.19
-BuildRequires: perl(URI)
-BuildRequires: perl(XML::Parser) >= 2.31
-# Run-time for Apache stuff:
-BuildRequires: perl(Apache)
-BuildRequires: perl(Apache::Constants)
-BuildRequires: perl(Apache::File)
-BuildRequires: perl(CGI)
-BuildRequires: perl(Socket)
-# Recommended run-time:
-BuildRequires: perl(DateTime) >= 0.70
-BuildRequires: perl(DateTime::Format::ISO8601) >= 0.07
-BuildRequires: perl(LWP) >= 5.834
-BuildRequires: perl(XML::LibXML) >= 1.85
-# Tests:
-BuildRequires: perl(IO::File)
-BuildRequires: perl(IO::Socket)
-BuildRequires: perl(Test::More) >= 0.94
-# Optional tests:
-BuildRequires: perl(Compress::Zlib)
-BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(constant) >= 1.03
+# optional tests
BuildRequires: perl(Net::Server)
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(Test::Pod::Coverage)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
-Requires: perl(constant) >= 1.03
Requires: perl(File::Spec) >= 0.8
-Requires: perl(HTTP::Daemon)
-Requires: perl(LWP) >= 5.834
-Requires: perl(MIME::Base64)
+Requires: perl(LWP) >= 5.801
Requires: perl(Scalar::Util) >= 1.19
Requires: perl(XML::Parser) >= 2.31
-# Recommended
-Requires: perl(DateTime) >= 0.70
-Requires: perl(DateTime::Format::ISO8601) >= 0.07
-Requires: perl(XML::LibXML) >= 1.85
+Requires: perl(constant) >= 1.03
+%{?perl_default_filter:
+%filter_from_provides /perl(RPC::XML::Method)$/d
%perl_default_filter
-# Remove underspecified symbols
-%global __requires_exclude
%{?__requires_exclude:%__requires_exclude|}^perl\\(constant|File::Spec|Scalar::Util|XML::LibXML|XML::Parser\\)\\s*$
+}
+
+%package -n perl-Apache-RPC
+Summary: Companion packages for RPC::XML tuned for mod_perl environments
+Group: Development/Libraries
%description
The RPC::XML package is an implementation of XML-RPC. The module provides
@@ -84,83 +47,51 @@ classes for sample client and server implementations, a server
designed as an
Apache location-handler, and a suite of data-manipulation classes that are
used by them.
-
-%package -n perl-Apache-RPC
-Summary: Companion packages for RPC::XML tuned for mod_perl environments
-Group: Development/Libraries
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
-Requires: perl(File::Spec) >= 0.8
-Requires: perl(RPC::XML::Server)
-
%description -n perl-Apache-RPC
This package contains Apache::RPC::Server and Apache::RPC::Status, useful for
running RPC::XML under mod_perl.
%prep
-%setup -qn %{cpan_name}-%{version}
-%patch0 -p1
+%setup -qn %{real_name}-%{version}
cp -p %{SOURCE1} .
+chmod -c -x t/*
+
%build
perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
make %{?_smp_mflags}
%install
-make pure_install DESTDIR=%{buildroot}
+rm -rf %{buildroot}
+
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+
%{_fixperms} %{buildroot}/*
%check
make test
+%clean
+rm -rf %{buildroot}
+
%files
-%doc ChangeLog* README etc/*.dtd README.license ex/ methods/
+%defattr(-,root,root,-)
+%doc ChangeLog README etc/*.dtd README.license ex/ methods/ t/
%{_mandir}/man3/RPC*
%{_mandir}/man1/*
%{_bindir}/make_method
%{perl_vendorlib}/RPC
+%{perl_vendorlib}/auto/*
%files -n perl-Apache-RPC
+%defattr(-,root,root,-)
%doc README.apache2 README.license
%{_mandir}/man3/Apache*
%{perl_vendorlib}/Apache
%changelog
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.77-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Thu Aug 01 2013 Petr Pisar <ppisar(a)redhat.com> - 0.77-3
-- Perl 5.18 rebuild
-- Adjust tests for perl 5.18 (CPAN RT#86187)
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.77-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Tue Sep 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.77-1
-- 0.77 bump
-- Specify all dependencies
-- Modernize spec file
-- Do not package tests
-
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.76-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Thu Jun 21 2012 Petr Pisar <ppisar(a)redhat.com> - 0.76-4
-- Perl 5.16 rebuild
-
-* Mon Jan 16 2012 Petr Pisar <ppisar(a)redhat.com> - 0.76-3
-- Require MODULE_COMPAT because this is Perl package.
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.76-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Mon Nov 21 2011 Petr Pisar <ppisar(a)redhat.com> - 0.76-1
-- 0.76 bump
-
-* Mon Apr 04 2011 Petr Pisar <ppisar(a)redhat.com> - 0.74-1
-- 0.74 bump
-
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.69-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index b0ce733..c413fd8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7e4ca7039456dba74b9719b57bb86ad3 RPC-XML-0.77.tar.gz
+98fa74810c72f3b05c987e6c8d5d83fb RPC-XML-0.69.tar.gz