From 363cb75688f856936f0ec78d7e11f9a6a951a9a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Fri, 22 Jul 2016 08:58:20 +0200
Subject: Disable build-time dependency on Devel::FindRef unconditionally

We cannot use perl to control build-time dependencies because there is
no perl in SRPM build root. Because Devel::FindRef is not available
in any supported Fedora, remove the dependency everywhere.
---
 perl-Math-NumSeq.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/perl-Math-NumSeq.spec b/perl-Math-NumSeq.spec
index 92f7cc7..9a2a53c 100644
--- a/perl-Math-NumSeq.spec
+++ b/perl-Math-NumSeq.spec
@@ -1,6 +1,6 @@
 Name:           perl-Math-NumSeq
 Version:        71
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Number sequences
 License:        GPLv3+
 Group:          Development/Libraries
@@ -16,10 +16,7 @@ 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
+# Devel::FindRef not available because it does not work since Perl 5.22.
 BuildRequires:  perl(Devel::StackTrace)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -100,6 +97,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Jul 22 2016 Petr Pisar <ppi...@redhat.com> - 71-8
+- Disable build-time dependency on Devel::FindRef unconditionally
+
 * Mon May 16 2016 Jitka Plesnikova <jples...@redhat.com> - 71-7
 - Perl 5.24 rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Math-NumSeq.git/commit/?h=master&id=363cb75688f856936f0ec78d7e11f9a6a951a9a3
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to