[perl-Array-Utils] Clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Sun Feb 24 10:38:20 UTC 2013


commit c62ca4f9fea668d8b0f4a507a7d75dd121a9424b
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Feb 24 11:38:07 2013 +0100

    Clean up spec file

 perl-Array-Utils.spec |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/perl-Array-Utils.spec b/perl-Array-Utils.spec
index 071125a..25ce895 100644
--- a/perl-Array-Utils.spec
+++ b/perl-Array-Utils.spec
@@ -1,17 +1,19 @@
 Name:           perl-Array-Utils
 Version:        0.5
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Small utils for array manipulation
 License:        GPL+ or Artistic
-Group:          Development/Libraries
+
 URL:            http://search.cpan.org/dist/Array-Utils/
 Source0:        http://www.cpan.org/authors/id/Z/ZM/ZMIJ/Array/Array-Utils-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+
 %description
 A small pure-perl module containing list manipulation routines,
 to avoid code duplication, idioms.
@@ -27,8 +29,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 {} \;
@@ -41,18 +41,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 
 %changelog
+* Sun Feb 24 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 0.5-8
+- Add perl default filter
+- Remove no-longer-needed macros
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list