[perl-B-Lint] Require deprecated if needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 82fd97ee1c5f0bdec72f442dcc1bf7855dcd7bcd
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Feb 15 09:29:35 2013 +0100

    Require deprecated if needed

 perl-B-Lint.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/perl-B-Lint.spec b/perl-B-Lint.spec
index 55abd92..219ab94 100644
--- a/perl-B-Lint.spec
+++ b/perl-B-Lint.spec
@@ -13,6 +13,9 @@ BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(B) 
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(constant)
+%if 0%(perl -e 'print $] > 5.017')
+BuildRequires:  perl(deprecated)
+%endif
 BuildRequires:  perl(if)
 BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Module::Pluggable)
@@ -25,6 +28,9 @@ BuildRequires:  perl(O)
 BuildRequires:  perl(warnings)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(constant)
+%if 0%(perl -e 'print $] > 5.017')
+Requires:       perl(deprecated)
+%endif
 
 %description
 The B::Lint module is equivalent to an extended version of the -w option of
--
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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux