commit 011c26628978b37bc0da959944349fdf5f878b2f Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Feb 7 17:11:52 2013 +0100 Require deprecated module if needed perl-Term-UI.spec | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) --- diff --git a/perl-Term-UI.spec b/perl-Term-UI.spec index 01edba8..bc4e58e 100644 --- a/perl-Term-UI.spec +++ b/perl-Term-UI.spec @@ -13,6 +13,9 @@ BuildRequires: perl(strict) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Carp) +%if 0%(perl -e 'print $] > 5.017') +BuildRequires: perl(deprecated) +%endif BuildRequires: perl(Exporter) BuildRequires: perl(if) BuildRequires: perl(Locale::Maketext::Simple) @@ -26,6 +29,9 @@ BuildRequires: perl(File::Spec) BuildRequires: perl(lib) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +%if 0%(perl -e 'print $] > 5.017') +Requires: perl(deprecated) +%endif %description Term::UI is a transparent way of eliminating the overhead of having to @@ -55,3 +61,4 @@ make test %changelog * Fri Jan 25 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.34-1 - Specfile autogenerated by cpanspec 1.78. +- Require deprecated module if needed -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel