SHA256
1
0
forked from pool/slurm

- Fix test for oS Factory

OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=95
This commit is contained in:
Egbert Eich 2019-07-07 12:42:55 +00:00 committed by Git OBS Bridge
parent d212ad0245
commit 69c4464cd5

View File

@ -56,7 +56,8 @@
%define have_netloc 1
%endif
%if 0%{?is_opensuse:1} || 0%{?sle_version} >= 150000
%define is_factory ( 0%{?is_opensuse:1} && 0%{!?sle_version:1} )
%if %is_factory || 0%{?sle_version} >= 150000
%define have_hdf5 1
%define have_boolean_deps 1
%endif
@ -135,8 +136,12 @@ BuildRequires: pkgconfig
BuildRequires: postgresql-devel >= 8.0.0
BuildRequires: readline-devel
%if 0%{?suse_version} > 1310 || 0%{?sle_version}
%if 0%{?sle_version} >= 120200
BuildRequires: infiniband-diags-devel
%else
BuildRequires: libibmad-devel
BuildRequires: libibumad-devel
%endif
%endif
%if 0%{?suse_version} > 1140
BuildRequires: libhwloc-devel