[perl-Test-MockModule] Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914317).

corsepiu corsepiu at fedoraproject.org
Sat Feb 23 06:04:48 UTC 2013


commit 192ff575b4503c7c77a05687d6a5e0f12729e0c1
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Feb 23 07:04:43 2013 +0100

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

 perl-Test-MockModule.spec |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/perl-Test-MockModule.spec b/perl-Test-MockModule.spec
index 2a324a8..33ff548 100644
--- a/perl-Test-MockModule.spec
+++ b/perl-Test-MockModule.spec
@@ -6,11 +6,11 @@ Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Test-MockModule/
 Source0:        http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -24,7 +24,6 @@ Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 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 ';'
@@ -33,9 +32,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -44,6 +40,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Feb 23 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.05-19
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914317).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.05-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list