--- /dev/null
+--- RPC-XML-0.76/lib/Apache/RPC/Server.pm~ 2011-08-15 06:36:39.000000000 +0200
++++ RPC-XML-0.76/lib/Apache/RPC/Server.pm 2012-07-16 22:22:46.517582097 +0200
+@@ -36,6 +36,7 @@
+ use Socket;
+ use File::Spec;
+
++use Apache2::compat;
+ use Apache;
+ use Apache::File; # For ease-of-use methods like set_last_modified
+ use Apache::Constants ':common';
+--- RPC-XML-0.76/lib/Apache/RPC/Status.pm~ 2011-07-23 09:02:47.000000000 +0200
++++ RPC-XML-0.76/lib/Apache/RPC/Status.pm 2012-07-16 22:23:20.637580893 +0200
+@@ -48,6 +48,7 @@
+ use subs qw(header footer main_screen server_summary server_detail
+ method_summary method_detail);
+
++use Apache2::compat;
+ use Apache;
+ use Apache::Constants qw(DECLINED OK SERVER_VERSION);
+ use CGI;
Summary(pl.UTF-8): RPC::XML - implementacja standardu XML-RPC dla Perla
Name: perl-RPC-XML
Version: 0.76
-Release: 1
+Release: 2
License: Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 731aaf588e6bd45b3a9cece8d4223e48
+Patch0: mod_perl2.patch
URL: http://www.blackperl.com/RPC::XML/
BuildRequires: perl-XML-Parser
BuildRequires: perl-devel >= 1:5.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildArch: noarch
+# these are provided by mod_perl's Apache2::compat
+%define _noautoreq perl(Apache) perl(Apache::Constants) perl(Apache::File)
+
%description
The RPC::XML package for Perl is an implementation of the XML-RPC
standard as defined at <http://www.xmlrpc.com/spec/>. It is written in
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \