[perl-Module-Install-ExtraTests] 0.007 bump

Petr Pisar ppisar at fedoraproject.org
Mon Jan 30 15:50:20 UTC 2012


commit ec3a508c784d4fc06c66bb41a2a3444c5280cbe1
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Jan 30 16:50:04 2012 +0100

    0.007 bump

 .rpmlint                            |    2 +
 perl-Module-Install-ExtraTests.spec |   39 ++++++++++++++++++----------------
 2 files changed, 23 insertions(+), 18 deletions(-)
---
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..b1ea11c
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (disttest|Ignorable|xt)");
diff --git a/perl-Module-Install-ExtraTests.spec b/perl-Module-Install-ExtraTests.spec
index b6d250d..03b14d4 100644
--- a/perl-Module-Install-ExtraTests.spec
+++ b/perl-Module-Install-ExtraTests.spec
@@ -1,19 +1,24 @@
 Name:       perl-Module-Install-ExtraTests 
-Version:        0.006
-Release:        9%{?dist}
+Version:    0.007
+Release:    1%{?dist}
 License:    GPL+ or Artistic
 Group:      Development/Libraries
 Summary:    Ignorable, contextual test support for Module::Install
-Source:     http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Module-Install-ExtraTests-%{version}.tar.gz 
 Url:        http://search.cpan.org/dist/Module-Install-ExtraTests
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
-Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Source:     http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Module-Install-ExtraTests-%{version}.tar.gz 
 BuildArch:  noarch
-
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Module::Install)
-BuildRequires: perl(Test::More)
-
+BuildRequires:  perl(Module::Install)
+# Run-time
+BuildRequires:  perl(ExtUtils::Command)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Install::Base)
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(ExtUtils::Command)
+Requires:       perl(File::Find)
+Requires:       perl(File::Spec)
 
 %description
 This allows extra_tests; to be declared in Makefile.PL, indicating that the 
@@ -26,33 +31,31 @@ instances:
 
 %prep
 %setup -q -n Module-Install-ExtraTests-%{version}
+# Update bundled Module::Install from system
+touch inc/.author
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc Changes LICENSE README t/ 
+%doc Changes LICENSE README 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Jan 30 2012 Petr Pisar <ppisar at redhat.com> - 0.007-1
+- 0.007 bump
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.006-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list