From fa2138ebce9c2c2debe4778365e302f07ea76fa38d45432ccbc6c854520fe06d Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 8 Jul 2019 08:21:33 +0000 Subject: [PATCH] Accepting request 714002 from home:eeich:slurm-staging - Fix build dependency issue around libibmad-devel introduced in SLE-12-SP4. OBS-URL: https://build.opensuse.org/request/show/714002 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=99 --- slurm.changes | 6 ++++++ slurm.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/slurm.changes b/slurm.changes index d6811d5..755247f 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 8 08:19:23 UTC 2019 - Egbert Eich + +- Fix build dependency issue around libibmad-devel introduced + in SLE-12-SP4. + ------------------------------------------------------------------- Mon Jul 8 05:41:11 UTC 2019 - Egbert Eich diff --git a/slurm.spec b/slurm.spec index b33f4bf..4dd7b99 100644 --- a/slurm.spec +++ b/slurm.spec @@ -142,7 +142,11 @@ BuildRequires: pkgconfig BuildRequires: postgresql-devel >= 8.0.0 BuildRequires: readline-devel %if 0%{?suse_version} > 1310 || 0%{?sle_version} + %if 0%{?sle_version} >= 120400 && 0%{?sle_version} < 150000 +BuildRequires: infiniband-diags-devel + %else BuildRequires: libibmad-devel + %endif BuildRequires: libibumad-devel %endif %if 0%{?suse_version} > 1140