[perl-Test-Spelling] Update dependencies. Dont need to remove empty directories from the buildroot. Drop %%defattr, redun

Marcela Mašláňová mmaslano at fedoraproject.org
Wed Nov 21 09:43:54 UTC 2012


commit ec717732e02b367b4a2de1fbb068c83e2f07f254
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Wed Nov 21 10:43:44 2012 +0100

    Update dependencies. Dont need to remove empty directories from the buildroot. Drop %%defattr, redundant since rpm 4.4.
    
    Signed-off-by: Marcela Mašláňová <mmaslano at redhat.com>

 perl-Test-Spelling.spec |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec
index 29faf1e..e17b4f1 100644
--- a/perl-Test-Spelling.spec
+++ b/perl-Test-Spelling.spec
@@ -1,6 +1,6 @@
 Name:           perl-Test-Spelling
 Version:        0.15
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Check for spelling errors in POD files
 Group:          Development/Libraries
 License:        GPL+ or Artistic
@@ -9,12 +9,22 @@ Source0:        http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling
 Patch0:         Test-Spelling-0.13-hunspell.patch
 BuildArch:      noarch
 BuildRequires:  hunspell-en
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(IPC::Open3)
 BuildRequires:  perl(Pod::Spell) >= 1.01
-BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Tester)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       hunspell
+Requires:       perl(Carp)
 
 %description
 "Test::Spelling" lets you check the spelling of a POD file, and report
@@ -37,19 +47,22 @@ make %{?_smp_mflags}
 %install
 make pure_install DESTDIR=%{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
 
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/Test/
 %{_mandir}/man3/Test::Spelling.3pm*
 
 %changelog
+* Wed Nov 21 2012 Jitka Plesnikova <jplesnik at redhat.com> - 0.15-5
+- Update dependencies
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list