[perl-UNIVERSAL-moniker] Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914323).

corsepiu corsepiu at fedoraproject.org
Tue Feb 26 06:25:33 UTC 2013


commit 5786284bec011b622a689a4ee55711e1992860c3
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Tue Feb 26 07:25:18 2013 +0100

    Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914323).
    
    - Modernize spec.

 perl-UNIVERSAL-moniker.spec |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/perl-UNIVERSAL-moniker.spec b/perl-UNIVERSAL-moniker.spec
index 346416c..0c53c72 100644
--- a/perl-UNIVERSAL-moniker.spec
+++ b/perl-UNIVERSAL-moniker.spec
@@ -1,13 +1,13 @@
 Name:           perl-UNIVERSAL-moniker
 Version:        0.08
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Real world naming for classes
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/UNIVERSAL-moniker/
 Source0:        http://search.cpan.org/CPAN/authors/id/K/KA/KASEI/UNIVERSAL-moniker-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More), perl(Lingua::EN::Inflect)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -21,16 +21,11 @@ guess at what they would be called in the real world.
 %prep
 %setup -q -n UNIVERSAL-moniker-%{version}
 
-# Filter bogus provide for perl(UNIVERSAL) (prior to rpm 4.9)
-%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/^perl(UNIVERSAL)$/d'"
-%define __perl_provides %{provfilt}
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -39,9 +34,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -50,6 +42,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Feb 26 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.08-20
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914323).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list