[perl-Pod-Spell] Specify all dependencies

Petr Pisar ppisar at fedoraproject.org
Tue Jun 25 11:58:13 UTC 2013


commit b7154001859cdec857148c371744c7a9c0b5b6fe
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jun 25 13:56:59 2013 +0200

    Specify all dependencies

 perl-Pod-Spell.spec |   30 ++++++++++++++++--------------
 1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec
index 61f8503..d747e0e 100644
--- a/perl-Pod-Spell.spec
+++ b/perl-Pod-Spell.spec
@@ -1,30 +1,29 @@
 Name:           perl-Pod-Spell
 Version:        1.04
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A formatter for spell-checking POD
 Group:          Development/Libraries
 License:        Artistic 2.0
 URL:            http://search.cpan.org/dist/Pod-Spell/
 Source0:        http://www.cpan.org/authors/id/X/XE/XENO/Pod-Spell-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
-BuildRequires:  perl(Pod::Escapes) >= 1.01
-BuildRequires:  perl(Pod::Parser) >= 1.0
-BuildRequires:  perl(Text::Wrap) >= 1.0
+BuildRequires:  perl(locale)
+BuildRequires:  perl(Pod::Escapes)
+BuildRequires:  perl(Pod::Parser)
+BuildRequires:  perl(Text::Wrap)
 # Tests:
+BuildRequires:  perl(File::Find)
 BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(Test::Deep)
-BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(Pod::Escapes) >= 1.01
-Requires:       perl(Pod::Parser) >= 1.0
-Requires:       perl(Text::Wrap) >= 1.0
-
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Escapes|Pod::Parser|Text::Wrap\\)$
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Pod::Spell is a Pod formatter whose output is good for spell-checking.
@@ -42,7 +41,7 @@ for F in README; do
 done
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 
@@ -55,13 +54,16 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 %files
-%doc Changes README
+%doc Changes CONTRIBUTING LICENSE README
 %{_bindir}/podspell
 %{perl_vendorlib}/Pod/
 %{_mandir}/man1/podspell.1*
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Tue Jun 25 2013 Petr Pisar <ppisar at redhat.com> - 1.04-2
+- Specify all dependencies
+
 * Thu May 09 2013 Jitka Plesnikova <jplesnik at redhat.com> - 1.04-1
 - 1.04 bump
 - Update source URL and BR



More information about the perl-devel mailing list