Simplify optional build-time dependencies

This commit is contained in:
Petr Písař 2016-07-13 10:36:17 +02:00
parent 823217563d
commit b7653e27f1

View File

@ -1,6 +1,6 @@
Name: perl-DateTime-Locale
Version: 1.05
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Localization support for DateTime.pm
# package itself is 'same terms as Perl'
# modules under DateTime/Locale/ are generated from data provided by the CLDR project
@ -19,34 +19,23 @@ BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
# XXX: BuildRequires: perl(Dist::CheckConflicts) >= 0.02
# Dist::CheckConflicts 0.02 is optionaly used from Makefile.PL, but it has no
# meaning in minimal build root without useless Perl modules.
BuildRequires: perl(Exporter)
BuildRequires: perl(List::Util) >= 1.45
BuildRequires: perl(Params::Validate)
# Tests only
BuildRequires: perl(base)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Storable)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Warnings)
BuildRequires: perl(utf8)
# Optional tests:
# XXX: BuildRequires: perl(blib)
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs)
# XXX: BuildRequires: perl(Cwd)
# XXX: BuildRequires: perl(IO::Handle)
# XXX: BuildRequires: perl(IPC::Open3)
# XXX: BuildRequires: perl(Pod::Wordlist)
# XXX: BuildRequires: perl(Test::Code::TidyAll)
# XXX: BuildRequires: perl(Test::CPAN::Changes)
# XXX: BuildRequires: perl(Test::DependentModules)
# XXX: BuildRequires perl(Test::EOL)
# XXX: BuildRequires: perl(Test::NoTabs)
# XXX: BuildRequires: perl(Test::Pod) >= 1.41
# XXX: BuildRequires: perl(Test::Spelling) >= 0.12
BuildRequires: perl(Storable)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Dist::CheckConflicts) >= 0.02
# perl-DateTime-Locale used to be bundled with perl-DateTime
@ -84,6 +73,9 @@ make test
%{_mandir}/man3/*
%changelog
* Wed Jul 13 2016 Petr Pisar <ppisar@redhat.com> - 1.05-2
- Simplify optional build-time dependencies
* Mon Jun 27 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-1
- 1.05 bump