From ffe913d841ec99522197ab48c5fcf5798c46bde5 Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Feb 15 2017 21:57:13 +0000 Subject: - Fix build on s390(x) --- diff --git a/perl-PDL.spec b/perl-PDL.spec index 0cc3667..eac5c1b 100644 --- a/perl-PDL.spec +++ b/perl-PDL.spec @@ -2,7 +2,8 @@ %{bcond_without proj} # Slatec does not work on PPC64 since 2.4.something -%ifarch ppc64 +# could be a big endian related issue +%ifarch ppc64 s390 s390x %{bcond_with slatec} %else %{bcond_without slatec} @@ -11,7 +12,7 @@ Name: perl-PDL %global cpan_version 2.017 Version: 2.17.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: The Perl Data Language Group: Development/Libraries License: GPL+ or Artistic @@ -185,7 +186,7 @@ sed -e 's,^#!/usr/bin/env perl,%(perl -MConfig -e 'print $Config{startperl}'),' CFLAGS="%{optflags} -Wno-unused" # Fused multiply-add instructions cause segfaults on 64-bit PowerPC if GSL # support is enabled (the same option is in gsl.spec), bug #1410162 -%ifarch ppc64 ppc64le +%ifarch ppc64 ppc64le s390 s390x CFLAGS="$CFLAGS -ffp-contract=off" %endif # Uncomment to enable PDL::IO::Browser @@ -217,6 +218,9 @@ make test %{_mandir}/man3/*.3* %changelog +* Tue Feb 15 2017 Dan Horák - 2.17.0-6 +- Fix build on s390(x) + * Sat Feb 11 2017 Fedora Release Engineering - 2.17.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild