[perl-CGI-Untaint-email] Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914246).

corsepiu corsepiu at fedoraproject.org
Sun Feb 24 07:56:43 UTC 2013


commit 26a82b28530929bb35bd65a19745e08dfb2f1fce
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sun Feb 24 08:56:37 2013 +0100

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

 perl-CGI-Untaint-email.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/perl-CGI-Untaint-email.spec b/perl-CGI-Untaint-email.spec
index 6351bca..2fce723 100644
--- a/perl-CGI-Untaint-email.spec
+++ b/perl-CGI-Untaint-email.spec
@@ -1,13 +1,13 @@
 Name:           perl-CGI-Untaint-email
 Version:        0.03
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        Validate an email address
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/CGI-Untaint-email
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-Untaint-email-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More) >= 0.18
 BuildRequires:  perl(CGI)
 BuildRequires:  perl(CGI::Untaint) >= 0.07
@@ -29,7 +29,6 @@ format. The resulting value will be a Mail::Address instance.
 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -38,9 +37,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes
@@ -49,6 +45,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Feb 24 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.03-17
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914246).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 



More information about the perl-devel mailing list