commit c04a80e66d351f1e247b56085dc11371ac81176f
Author: Ralf Corsépius <corse...@fedoraproject.org>
Date:   Tue Feb 26 12:36:24 2013 +0100

    Add BR: perl(ExitUtils::MakeMaker) (Fix FTBFS #914313).
    
    - Modernize spec.

 perl-Template-GD.spec |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/perl-Template-GD.spec b/perl-Template-GD.spec
index 8026964..9479c98 100644
--- a/perl-Template-GD.spec
+++ b/perl-Template-GD.spec
@@ -1,14 +1,14 @@
 Name:           perl-Template-GD
 Version:        2.66
-Release:        16%{?dist}
+Release:        17%{?dist}
 Summary:        GD plugin(s) for the Template Toolkit
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Template-GD/
 Source0:        
http://search.cpan.org/CPAN/authors/id/A/AB/ABW/Template-GD-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(GD::Graph3d), perl(GD::Graph), perl(GD::Text)
 BuildRequires:  perl(Template), perl(Test::More)
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -31,7 +31,6 @@ extracted into this separate distribution.
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT _docs
 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 ';'
@@ -40,9 +39,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc README
@@ -50,6 +46,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Feb 26 2013 Ralf Corsépius <corse...@fedoraproject.org> - 2.66-17
+- Add BR: perl(ExitUtils::MakeMaker) (Fix FTBFS #914313).
+- Modernize spec.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 2.66-16
 - 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to