commit 2a78113b1630b9f7026a09af12cca63bf420aeff
Author: Jan Rękorajski <[email protected]>
Date:   Sun May 10 13:59:02 2020 +0200

    - drop dependency on mod_perl 1.x for apache 1.x
    - rel 3

 no-mod_perl-1.x.patch  | 10 ++++++++++
 perl-Frontier-RPC.spec |  4 +++-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/perl-Frontier-RPC.spec b/perl-Frontier-RPC.spec
index 6c55e30..ee5a27d 100644
--- a/perl-Frontier-RPC.spec
+++ b/perl-Frontier-RPC.spec
@@ -8,12 +8,13 @@ Summary:      Frontier::RPC2 - encode/decode RPC2 format XML
 Summary(pl.UTF-8):     Frontier::RPC2 - kodowanie/dekodowanie formatu XML RPC2
 Name:          perl-Frontier-RPC
 Version:       0.07
-Release:       2
+Release:       3
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-authors/id/K/KM/KMACLEOD/Frontier-RPC-%{version}b4.tar.gz
 # Source0-md5: c04582da604f11bdbe60606738f92457
+Patch0:                no-mod_perl-1.x.patch
 URL:           https://metacpan.org/pod/Frontier::RPC2
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
@@ -37,6 +38,7 @@ Apache'a, a także samodzielnie z użyciem HTTP::Daemon.
 
 %prep
 %setup -q -n Frontier-RPC-%{version}b4
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/no-mod_perl-1.x.patch b/no-mod_perl-1.x.patch
new file mode 100644
index 0000000..712db8e
--- /dev/null
+++ b/no-mod_perl-1.x.patch
@@ -0,0 +1,10 @@
+--- Frontier-RPC-0.07b4/lib/Apache/XMLRPC.pm~  2002-08-03 02:48:06.000000000 
+0200
++++ Frontier-RPC-0.07b4/lib/Apache/XMLRPC.pm   2020-05-10 13:57:52.819507622 
+0200
+@@ -10,7 +10,6 @@
+ 
+ package Apache::XMLRPC;
+ 
+-use Apache::Constants qw(:common);
+ use Frontier::RPC2;
+ 
+ sub handler {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Frontier-RPC.git/commitdiff/2a78113b1630b9f7026a09af12cca63bf420aeff

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to