2 Commits

3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 25 12:56:50 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
- add no_fast-math_for_tests.patch
* %check may fail for some architerture if the test use -ffast-math
-------------------------------------------------------------------
Fri Mar 18 17:29:48 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package graphene
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@ Group: Development/Languages/C and C++
URL: https://ebassi.github.io/graphene/
Source: https://download.gnome.org/sources/graphene/1.10/%{name}-%{version}.tar.xz
Source99: baselibs.conf
#PATCH-FIX-OPENSUSE https://github.com/ebassi/graphene/issues/246
Patch0: no_fast-math_for_tests.patch
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel

View File

@@ -0,0 +1,11 @@
diff -Nraub graphene-1.10.8.ori/meson.build graphene-1.10.8/meson.build
--- graphene-1.10.8.ori/meson.build 2022-03-18 12:51:39.000000000 -0400
+++ graphene-1.10.8/meson.build 2025-11-25 08:45:29.471363482 -0400
@@ -84,7 +84,6 @@
]
else
test_cflags = [
- '-ffast-math',
'-fstrict-aliasing',
'-Wpointer-arith',
'-Wstrict-prototypes',