[perl-Devel-Caller-IgnoreNamespaces] Clean up spec file; Run all tests

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jan 6 11:31:10 UTC 2013


commit e1741976ac319ca328f2d66094aff4d9ee2a74ba
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Jan 6 12:31:04 2013 +0100

    Clean up spec file; Run all tests

 perl-Devel-Caller-IgnoreNamespaces.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-Devel-Caller-IgnoreNamespaces.spec b/perl-Devel-Caller-IgnoreNamespaces.spec
index 1be77c8..a7ee483 100644
--- a/perl-Devel-Caller-IgnoreNamespaces.spec
+++ b/perl-Devel-Caller-IgnoreNamespaces.spec
@@ -1,12 +1,10 @@
 Name:           perl-Devel-Caller-IgnoreNamespaces
 Version:        1.0
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Make available a function which can ignore name-spaces that you tell it about
 License:        GPLv2 or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Devel-Caller-IgnoreNamespaces/
 Source0:        http://www.cpan.org/authors/id/D/DC/DCANTRELL/Devel-Caller-IgnoreNamespaces-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Tests
@@ -15,6 +13,7 @@ BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
 # Optional tests
 BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -32,8 +31,6 @@ with its name.
 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 {} \;
@@ -44,16 +41,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 ARTISTIC.txt CHANGES GPL2.txt README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 06 2013 Emmanuel Seyman <emmanuel at seyman.fr> - 1.0-11
+- Remove no-longer-used macros
+- Add Test::Pod::Coverage to the BuildRequires
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list