[perl-Email-MIME-ContentType] Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271).

corsepiu corsepiu at fedoraproject.org
Sun Feb 24 05:16:24 UTC 2013


commit cffc8aed313e40ca663e987f05cbd9ecf89afa88
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sun Feb 24 06:16:13 2013 +0100

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

 perl-Email-MIME-ContentType.spec |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/perl-Email-MIME-ContentType.spec b/perl-Email-MIME-ContentType.spec
index 20a5525..538d264 100644
--- a/perl-Email-MIME-ContentType.spec
+++ b/perl-Email-MIME-ContentType.spec
@@ -1,15 +1,15 @@
 Name:           perl-Email-MIME-ContentType
 Version:        1.015
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Parse a MIME Content-Type Header
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Email-MIME-ContentType/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -31,7 +31,6 @@ make %{?_smp_mflags}
 
 
 %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 -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -42,10 +41,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %doc Changes LICENSE README
@@ -54,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb 24 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.015-14
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.015-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list