Specify all dependencies

epel9
Petr Písař 12 years ago
parent da6492ff8f
commit b715400185

@ -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@redhat.com> - 1.04-2
- Specify all dependencies
* Thu May 09 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-1
- 1.04 bump
- Update source URL and BR

Loading…
Cancel
Save