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:
parent
d212ad0245
commit
69c4464cd5
@ -56,7 +56,8 @@
|
|||||||
%define have_netloc 1
|
%define have_netloc 1
|
||||||
%endif
|
%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_hdf5 1
|
||||||
%define have_boolean_deps 1
|
%define have_boolean_deps 1
|
||||||
%endif
|
%endif
|
||||||
@ -135,8 +136,12 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: postgresql-devel >= 8.0.0
|
BuildRequires: postgresql-devel >= 8.0.0
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
%if 0%{?suse_version} > 1310 || 0%{?sle_version}
|
%if 0%{?suse_version} > 1310 || 0%{?sle_version}
|
||||||
|
%if 0%{?sle_version} >= 120200
|
||||||
|
BuildRequires: infiniband-diags-devel
|
||||||
|
%else
|
||||||
BuildRequires: libibmad-devel
|
BuildRequires: libibmad-devel
|
||||||
BuildRequires: libibumad-devel
|
BuildRequires: libibumad-devel
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1140
|
%if 0%{?suse_version} > 1140
|
||||||
BuildRequires: libhwloc-devel
|
BuildRequires: libhwloc-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user