- Fix logic of slurm-munge recommends: slurm-munge requires munge

already, so if we have munge installed we recommend slurm-munge
  as the authentication when installing slurm or slurm-node.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=108
This commit is contained in:
Egbert Eich 2019-08-17 14:25:47 +00:00 committed by Git OBS Bridge
parent 89f111874a
commit f2775f6e1e
2 changed files with 20 additions and 4 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Aug 17 14:20:35 UTC 2019 - Egbert Eich <eich@suse.com>
- Fix logic of slurm-munge recommends: slurm-munge requires munge
already, so if we have munge installed we recommend slurm-munge
as the authentication when installing slurm or slurm-node.
-------------------------------------------------------------------
Sun Jul 14 13:28:13 UTC 2019 - Egbert Eich <eich@suse.com>

View File

@ -116,13 +116,14 @@ Patch12: pam_slurm_adopt-use-uid-to-determine-whether-root-is.patch
Requires: %{name}-config = %{version}
%if 0%{?have_boolean_deps}
Requires: (munge if %{name}-munge)
Recommends: (%{name}-munge = %version if munge)
%else
Requires: munge
Recommends: %{name}-munge = %version
%endif
Requires(pre): %{name}-node = %{version}
Recommends: %{name}-doc = %{version}
Recommends: %{name}-config-man = %{version}
BuildRequires: coreutils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
@ -279,7 +280,11 @@ Group: Productivity/Clustering/Computing
Requires: %{name}-config = %{version}
Requires: %{name}-plugins = %{version}
Requires: %{name}-sql = %{version}
Recommends: %{name}-munge = %{version}
%if 0%{?have_boolean_deps}
Recommends: (%{name}-munge = %version if munge)
%else
Recommends: %{name}-munge = %version
%endif
%if 0%{?with_systemd}
%{?systemd_requires}
%else
@ -394,7 +399,11 @@ Summary: Minimal slurm node
Group: Productivity/Clustering/Computing
Requires: %{name}-config = %{version}
Requires: %{name}-plugins = %{version}
Recommends: %{name}-munge
%if 0%{?have_boolean_deps}
Recommends: (%{name}-munge = %version if munge)
%else
Recommends: %{name}-munge = %version
%endif
%if 0%{?with_systemd}
%{?systemd_requires}
%else