[perl-Sub-Prototype] Various clean-ups

Emmanuel Seyman eseyman at fedoraproject.org
Sun Dec 30 09:08:50 UTC 2012


commit 5727a263dbdb7ae728d3dd430ca4f3393db8563b
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Dec 30 10:08:42 2012 +0100

    Various clean-ups

 perl-Sub-Prototype.spec |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/perl-Sub-Prototype.spec b/perl-Sub-Prototype.spec
index f73a501..24f94c9 100644
--- a/perl-Sub-Prototype.spec
+++ b/perl-Sub-Prototype.spec
@@ -1,13 +1,10 @@
 Name:           perl-Sub-Prototype
 Version:        0.02
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        Allows you to set a subs prototype
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Sub-Prototype/
 Source0:        http://www.cpan.org/authors/id/F/FL/FLORA/Sub-Prototype-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Sub::Exporter)
 BuildRequires:  perl(Test::More)
@@ -27,8 +24,6 @@ which is exported by default.
 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 {} \;
@@ -40,17 +35,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Sub*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Dec 30 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.02-10
+- Remove no-longer-used macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.02-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list