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

corsepiu corsepiu at fedoraproject.org
Sat Feb 23 05:46:11 UTC 2013


commit 476ba84174386f603998dcbe0f80236a62334569
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Feb 23 06:46:06 2013 +0100

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

 perl-CGI-Untaint.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/perl-CGI-Untaint.spec b/perl-CGI-Untaint.spec
index f41f177..c978c67 100644
--- a/perl-CGI-Untaint.spec
+++ b/perl-CGI-Untaint.spec
@@ -1,15 +1,15 @@
 Name:           perl-CGI-Untaint
 Version:        1.26
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        Process CGI input parameters
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/CGI-Untaint/
 Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/CGI-Untaint-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  perl(UNIVERSAL::require), perl(Test::More), perl(CGI)
+BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -23,7 +23,6 @@ Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 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 ';'
@@ -32,9 +31,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes
@@ -43,6 +39,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Feb 23 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.26-17
+- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914244).
+- Modernize spec-file.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.26-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list