From 75acea4a2421e10826d206c23cfa8cfcff4b5610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= ppisar@redhat.com Date: Tue, 19 Jul 2016 09:25:04 +0200 Subject: Adapt perl detection for SRPM build root without perl
--- perl-MongoDB.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/perl-MongoDB.spec b/perl-MongoDB.spec index 55d47b6..b848cc6 100644 --- a/perl-MongoDB.spec +++ b/perl-MongoDB.spec @@ -118,7 +118,7 @@ Recommends: perl(Class::XSAccessor) # Prefer IO::Socket::IP over IO::Socket::INET Requires: perl(IO::Socket::IP) >= 0.25 Requires: perl(IO::Socket::SSL) >= 1.42 -%if %(perl -MConfig -e 'print defined $Config{use64bitint} ? 0 : 1') +%if 0%(perl -MConfig -e 'print defined $Config{use64bitint} ? 0 : 1') Requires: perl(Math::BigInt) %endif Requires: perl(Moo) >= 2
perl-devel@lists.fedoraproject.org