jplesnik pushed to perl-Math-NumSeq (master). "Disable optional BR Devel::FindRef"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 2 11:49:10 UTC 2015


From 121f390b30c6c740d152987eb1d365e077eea510 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 2 Jun 2015 13:48:44 +0200
Subject: Disable optional BR Devel::FindRef


diff --git a/perl-Math-NumSeq.spec b/perl-Math-NumSeq.spec
index ea7e16e..9cd0231 100644
--- a/perl-Math-NumSeq.spec
+++ b/perl-Math-NumSeq.spec
@@ -1,6 +1,6 @@
 Name:           perl-Math-NumSeq
 Version:        71
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Number sequences
 License:        GPLv3+
 Group:          Development/Libraries
@@ -15,7 +15,10 @@ BuildRequires:  perl(constant::defer) >= 1
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Cwd)
 BuildRequires:  perl(Data::Dumper)
+# Disable optional BR Devel::FindRef, because it does not built with Perl 5.22
+%if ! 0%(perl -e 'print $] >= 5.022')
 BuildRequires:  perl(Devel::FindRef)
+%endif
 BuildRequires:  perl(Devel::StackTrace)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -96,6 +99,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jun 02 2015 Jitka Plesnikova <jplesnik at redhat.com> - 71-3
+- Disable optional BR Devel::FindRef for Perl 5.22
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik at redhat.com> - 71-2
 - Perl 5.20 rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Math-NumSeq.git/commit/?h=master&id=121f390b30c6c740d152987eb1d365e077eea510


More information about the perl-devel mailing list