[perl-Class-MethodMaker] Upstream update. Spec file cleanup.

corsepiu corsepiu at fedoraproject.org
Mon Mar 28 13:16:42 UTC 2011


commit f54d5253ea90213f84223869c5ebb50e5173aec4
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Mar 28 15:16:20 2011 +0200

    Upstream update.
    Spec file cleanup.

 .gitignore                  |    1 +
 perl-Class-MethodMaker.spec |   19 ++++++-------------
 sources                     |    2 +-
 3 files changed, 8 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4d77a05..4e360a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Class-MethodMaker-2.16.tar.gz
+/Class-MethodMaker-2.17.tar.gz
diff --git a/perl-Class-MethodMaker.spec b/perl-Class-MethodMaker.spec
index 303e712..6d9b02e 100644
--- a/perl-Class-MethodMaker.spec
+++ b/perl-Class-MethodMaker.spec
@@ -1,24 +1,20 @@
 Name:           perl-Class-MethodMaker
-Version:        2.16
-Release:        4%{?dist}
+Version:        2.17
+Release:        1%{?dist}
 Summary:        Perl module for creating generic object-oriented methods
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/~schwigon/Class-MethodMaker/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/class-methodmaker/Class-MethodMaker-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Required by the tests
 BuildRequires:  perl(IPC::Run)
-# BR: to force deterministic build
-BuildRequires:  perl(Module::Signature)
 
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
-
 Class::MethodMaker solves the problem of having to continually write accessor
 methods for your objects that perform standard tasks.
 
@@ -33,7 +29,6 @@ make %{?_smp_mflags}
 cd ..
 
 %install
-rm -rf $RPM_BUILD_ROOT
 cd Class-MethodMaker-%{version}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 cd ..
@@ -44,15 +39,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
 cd Class-MethodMaker-%{version}
-# until deprecation will be fixed
-rm -rf t/redefine-warnings.t
 make test
 cd ..
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %doc Class-MethodMaker-%{version}/Changes Class-MethodMaker-%{version}/README Class-MethodMaker-%{version}/TODO
@@ -61,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Mar 28 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.17-1
+- Upstream update.
+- Spec file cleanup.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.16-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 28af3a9..8365ae2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8ee96e049858ad22ff71881fee19443c  Class-MethodMaker-2.16.tar.gz
+1362b94af75cdb1a1a29834a45175173  Class-MethodMaker-2.17.tar.gz



More information about the perl-devel mailing list