[packages/perl-Class-MethodMaker] - up to 2.24

baggins baggins at pld-linux.org
Thu Jun 22 23:07:41 CEST 2017


commit 0350a15fd128e631e0a0a0dd2fbcc3cca54c974e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Jun 22 23:07:27 2017 +0200

    - up to 2.24

 build.patch                 | 11 +++++++++++
 perl-Class-MethodMaker.spec |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/perl-Class-MethodMaker.spec b/perl-Class-MethodMaker.spec
index b3f68c3..53746b3 100644
--- a/perl-Class-MethodMaker.spec
+++ b/perl-Class-MethodMaker.spec
@@ -8,13 +8,14 @@
 Summary:	Class::MethodMaker - a module for creating generic methods
 Summary(pl.UTF-8):	Class::MethodMaker - moduł do tworzenia ogólnych metod
 Name:		perl-Class-MethodMaker
-Version:	2.21
-Release:	6
+Version:	2.24
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	d53a587fb84d5c5209e55ec0d4fab21d
+# Source0-md5:	6fac1ed1fea8a4e42d36a4d07c8bfa09
+Patch0:		build.patch
 URL:		http://search.cpan.org/dist/Class-MethodMaker/
 %{?with_tests:BuildRequires:	perl-IPC-Run >= 0.89}
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -40,6 +41,7 @@ wartości to parametry dla tych metod).
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 mv -f end.pod lib/Class/MethodMaker/
 
 %build
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..5de1e42
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- Class-MethodMaker-2.24/Generate.pm~	2015-02-28 08:56:20.000000000 +0100
++++ Class-MethodMaker-2.24/Generate.pm	2017-06-22 23:06:33.298428165 +0200
+@@ -10,7 +10,7 @@
+ use base qw( Exporter );
+ our @EXPORT_OK = qw( %GENERATE );
+ 
+-our %GENERATE = ( map {; ($output = basename $_) =~ s/\.m/.pm/;
++our %GENERATE = ( map {; (my $output = basename $_) =~ s/\.m/.pm/;
+                        $_ => catfile 'lib', 'Class', 'MethodMaker', $output }
+                   grep /\.m$/, glob(catfile 'components', '*') );
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Class-MethodMaker.git/commitdiff/0350a15fd128e631e0a0a0dd2fbcc3cca54c974e



More information about the pld-cvs-commit mailing list