SHA256
1
0
forked from pool/polylib

Accepting request 1095073 from science

- Support SLE 15.x build
- Require gmp from polylib-devel

OBS-URL: https://build.opensuse.org/request/show/1095073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polylib?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2023-06-25 19:41:59 +00:00 committed by Git OBS Bridge
commit 37efebe9ee
2 changed files with 19 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jun 24 14:12:04 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Support SLE 15.x build
- Require gmp from polylib-devel
-------------------------------------------------------------------
Sat Sep 12 13:22:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package polylib
#
# 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
@ -27,9 +27,12 @@ URL: https://icps.u-strasbg.fr/polylib/
Source: https://icps.u-strasbg.fr/polylib/polylib_src/%name-%version.tar.gz
BuildRequires: gcc-c++
BuildRequires: ntl-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gmpxx)
BuildRequires: pkgconfig(isl)
BuildRequires: pkg-config
%if 0%{?suse_version} >= 1590
BuildRequires: pkgconfig(gmp)
%else
BuildRequires: gmp-devel
%endif
%description
The Polyhedral Library (PolyLib) operates on objects made up of
@ -47,6 +50,11 @@ unions of polyhedra of any dimension.
Summary: Development files for PolyLib
Group: Development/Libraries/C and C++
Requires: %lname = %version
%if 0%{?suse_version} >= 1590
Requires: pkgconfig(gmp)
%else
Requires: gmp-devel
%endif
%description devel
The Polyhedral Library (PolyLib) operates on objects made up of
@ -64,7 +72,7 @@ developing with PolyLib.
%autosetup -p1
%build
%configure --disable-static --with-isl=system --with-libgmp
%configure --disable-static --with-libgmp
%make_build
%install