From c6188bbe9ed5b4f474cac044d4bf51394a2198a9530ac35b4624cf5f0e1f5319 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Tue, 12 Jan 2021 09:46:34 +0000 Subject: [PATCH] Accepting request 862263 from home:Andreas_Schwab:Factory - Fix setting of FLOATTEST OBS-URL: https://build.opensuse.org/request/show/862263 OBS-URL: https://build.opensuse.org/package/show/graphics/libjpeg-turbo?expand=0&rev=115 --- libjpeg-turbo.changes | 5 +++++ libjpeg-turbo.spec | 6 +++--- libjpeg62-turbo.spec | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libjpeg-turbo.changes b/libjpeg-turbo.changes index 95e9beb..89258cd 100644 --- a/libjpeg-turbo.changes +++ b/libjpeg-turbo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 11 10:58:07 UTC 2021 - Andreas Schwab + +- Fix setting of FLOATTEST + ------------------------------------------------------------------- Mon Dec 28 15:39:18 UTC 2020 - pgajdos@suse.com diff --git a/libjpeg-turbo.spec b/libjpeg-turbo.spec index ef479c2..ee58463 100644 --- a/libjpeg-turbo.spec +++ b/libjpeg-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg-turbo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,8 +118,8 @@ MYCFLAGS="$MYCFLAGS -O0 -g" -DCMAKE_SHARED_LINKER_FLAGS="$MYLDFLAGS" \ -DENABLE_STATIC=OFF \ -DWITH_JPEG8=ON \ -%ifarch ppc - -DFLOATTEST=64bit \ +%ifarch s390x riscv64 + -DFLOATTEST=fp-contract \ %endif %{nil} %make_build diff --git a/libjpeg62-turbo.spec b/libjpeg62-turbo.spec index 209f8b3..2351d75 100644 --- a/libjpeg62-turbo.spec +++ b/libjpeg62-turbo.spec @@ -1,7 +1,7 @@ # # spec file for package libjpeg62-turbo # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -78,8 +78,8 @@ files using the libjpeg library. export LDFLAGS="-Wl,-z,relro,-z,now" %cmake \ -DENABLE_STATIC=OFF \ -%ifarch ppc - -DFLOATTEST=64bit \ +%ifarch s390x riscv64 + -DFLOATTEST=fp-contract \ %endif %{nil} %make_build