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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit cffc8aed313e40ca663e987f05cbd9ecf89afa88
Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxx> - 1.015-14
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.015-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux