Accepting request 1141020 from home:dimstar:Factory
- 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. OBS-URL: https://build.opensuse.org/request/show/1141020 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=286
This commit is contained in:
parent
e59754da76
commit
a95f2355d0
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Jan 12 11:08:01 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package slurm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -584,7 +584,9 @@ Requires: %{name} = %version
|
|||||||
Requires: %{name}-auth-none = %version
|
Requires: %{name}-auth-none = %version
|
||||||
Requires: %{name}-cray = %version
|
Requires: %{name}-cray = %version
|
||||||
Requires: %{name}-devel = %version
|
Requires: %{name}-devel = %version
|
||||||
%{?have_hdf5:%ts_depends: %{name}-hdf5 = %version}
|
%if %{?have_hdf5}
|
||||||
|
%ts_depends: %{name}-hdf5 = %version
|
||||||
|
%endif
|
||||||
Requires: %{name}-lua = %version
|
Requires: %{name}-lua = %version
|
||||||
Requires: %{name}-munge = %version
|
Requires: %{name}-munge = %version
|
||||||
Requires: %{name}-node = %version
|
Requires: %{name}-node = %version
|
||||||
|
Loading…
Reference in New Issue
Block a user