- Require gmp from polylib-devel
- Remove isl dependency OBS-URL: https://build.opensuse.org/package/show/science/polylib?expand=0&rev=4
This commit is contained in:
parent
ab5a93305a
commit
b194f9d1ec
@ -2,6 +2,7 @@
|
|||||||
Sat Jun 24 14:12:04 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
Sat Jun 24 14:12:04 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
- Support SLE 15.x build
|
- Support SLE 15.x build
|
||||||
|
- Require gmp from polylib-devel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 12 13:22:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
Sat Sep 12 13:22:45 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
11
polylib.spec
11
polylib.spec
@ -29,11 +29,9 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: ntl-devel
|
BuildRequires: ntl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
%if 0%{?suse_version} >= 1590
|
%if 0%{?suse_version} >= 1590
|
||||||
BuildRequires: pkgconfig(gmpxx)
|
BuildRequires: pkgconfig(gmp)
|
||||||
BuildRequires: pkgconfig(isl)
|
|
||||||
%else
|
%else
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: isl-devel
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,6 +50,11 @@ unions of polyhedra of any dimension.
|
|||||||
Summary: Development files for PolyLib
|
Summary: Development files for PolyLib
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
%if 0%{?suse_version} >= 1590
|
||||||
|
Requires: pkgconfig(gmp)
|
||||||
|
%else
|
||||||
|
Requires: gmp-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The Polyhedral Library (PolyLib) operates on objects made up of
|
The Polyhedral Library (PolyLib) operates on objects made up of
|
||||||
@ -69,7 +72,7 @@ developing with PolyLib.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-isl=system --with-libgmp
|
%configure --disable-static --with-libgmp
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user