forked from pool/slurm
- Remove last change. This is not how it is intended to work
OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=287
This commit is contained in:
parent
a95f2355d0
commit
f98ecb23d5
@ -1,12 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 15:59:07 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fix dependency of testsuite when building without hdf5
|
||||
(have_hdf5=0). The previously use construct
|
||||
%{?have_hdf5:%ts_depends: does not behave as intended by the
|
||||
line-author: %{?…:} does not include a question of value, but
|
||||
only if the variable is defined or undefind.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 11:08:01 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||
|
||||
|
10
slurm.spec
10
slurm.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package slurm
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@ -56,7 +56,7 @@ ExclusiveArch: do_not_build
|
||||
%if 0%{?sle_version} == 150300 || 0%{?sle_version} == 150400
|
||||
%define base_ver 2011
|
||||
%endif
|
||||
%if 0%{?sle_version} == 150500
|
||||
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
|
||||
%define base_ver 2302
|
||||
%endif
|
||||
|
||||
@ -120,7 +120,7 @@ Conflicts: %{*} }
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%define have_hdf5 0
|
||||
%undefine have_hdf5
|
||||
%define have_boolean_deps 1
|
||||
%define have_lz4 1
|
||||
%define have_firewalld 1
|
||||
@ -584,9 +584,7 @@ Requires: %{name} = %version
|
||||
Requires: %{name}-auth-none = %version
|
||||
Requires: %{name}-cray = %version
|
||||
Requires: %{name}-devel = %version
|
||||
%if %{?have_hdf5}
|
||||
%ts_depends: %{name}-hdf5 = %version
|
||||
%endif
|
||||
%{?have_hdf5:%ts_depends: %{name}-hdf5 = %version}
|
||||
Requires: %{name}-lua = %version
|
||||
Requires: %{name}-munge = %version
|
||||
Requires: %{name}-node = %version
|
||||
|
Loading…
Reference in New Issue
Block a user