Accepting request 1069530 from graphics
OBS-URL: https://build.opensuse.org/request/show/1069530 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lib2geom?expand=0&rev=3
This commit is contained in:
commit
7fe1a6c4a3
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 2 10:46:51 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Use -fexcess-precision=fast as GCC 13 changes the default
|
||||
for C++ compiler and without the change some tests fail on i586.
|
||||
More info can be seen here:
|
||||
https://gcc.gnu.org/gcc-13/porting_to.html#excess-precision
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 14:52:12 UTC 2022 - thod_@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lib2geom
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -32,15 +32,15 @@ Group: System/Libraries
|
||||
Source0: %{url}/-/archive/%{short_version}/%{name}-%{short_version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE
|
||||
Patch1: fix-pkgconfig-libdir-path.patch
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: cmake >= 2.6
|
||||
BuildRequires: cmake(double-conversion)
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2
|
||||
BuildRequires: gsl-devel
|
||||
BuildRequires: gtest
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: ninja
|
||||
BuildRequires: cmake(double-conversion)
|
||||
|
||||
%description
|
||||
A C++ 2D geometry library geared towards processing data
|
||||
@ -68,6 +68,7 @@ needed to develop applications that require %{name}.
|
||||
%autosetup -n %{name}-%{short_version} -p1
|
||||
|
||||
%build
|
||||
%global optflags %optflags -fexcess-precision=fast
|
||||
%cmake -Wno-dev \
|
||||
-D2GEOM_BUILD_SHARED:BOOL=ON \
|
||||
-D2GEOM_TOYS:BOOL=OFF \
|
||||
|
Loading…
Reference in New Issue
Block a user