From b7154001859cdec857148c371744c7a9c0b5b6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 25 Jun 2013 13:56:59 +0200 Subject: [PATCH] Specify all dependencies --- perl-Pod-Spell.spec | 30 ++++++++++++++++-------------- 1 file 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 - 1.04-2 +- Specify all dependencies + * Thu May 09 2013 Jitka Plesnikova - 1.04-1 - 1.04 bump - Update source URL and BR