From efb023382f47236ba69b96465cb38b67aa8d63cb0bdb88fa6836d4df0aae8224 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 13 Mar 2020 17:33:40 +0000 Subject: [PATCH] Accepting request 783058 from home:eeich:branches:network:cluster - Remove legacy_cray: with 20.02 the special treatment for cray-specific plugins on SLE version prior to 15SP2 is no longer required. OBS-URL: https://build.opensuse.org/request/show/783058 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=143 --- slurm.changes | 7 +++++++ slurm.spec | 21 ++------------------- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/slurm.changes b/slurm.changes index e8c3605..886d331 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 8 15:43:25 UTC 2020 - Egbert Eich + +- Remove legacy_cray: with 20.02 the special treatment for + cray-specific plugins on SLE version prior to 15SP2 is + no longer required. + ------------------------------------------------------------------- Wed Mar 4 13:05:07 UTC 2020 - Christian Goll diff --git a/slurm.spec b/slurm.spec index 2369fef..4c3d2c2 100644 --- a/slurm.spec +++ b/slurm.spec @@ -48,9 +48,6 @@ ExclusiveArch: do_not_build %if 0%{?base_ver} > 0 && 0%{?base_ver} < %(echo %{_ver} | tr -d _) %define upgrade 1 %endif -%if !0%{?is_opensuse} && 0%{!?upgrade:1} && 0%{?sle_version} < 150200 -%define legacy_cray 1 -%endif # Build with PMIx only for SLE >= 15.2 and TW %if 0%{?sle_version} >= 150200 || 0%{suse_version} >= 1550 @@ -1146,19 +1143,6 @@ exit 0 %{_libdir}/slurm/acct_gather_profile_influxdb.so %{_libdir}/slurm/ext_sensors_rrd.so %{_libdir}/slurm/jobcomp_elasticsearch.so -%if 0%{?legacy_cray} -%{_libdir}/slurm/acct_gather_energy_cray_aries.so -%{_libdir}/slurm/core_spec_cray_aries.so -%{_libdir}/slurm/job_submit_cray_aries.so -%{_libdir}/slurm/select_cray_aries.so -%{_libdir}/slurm/switch_cray_aries.so -%{_libdir}/slurm/task_cray_aries.so -%{_libdir}/slurm/mpi_cray_shasta.so - %if 0%{?have_json_c} -%{_libdir}/slurm/node_features_knl_cray.so -%{_libdir}/slurm/power_cray_aries.so - %endif -%endif %files lua %{?comp_at} @@ -1247,8 +1231,8 @@ exit 0 %{_mandir}/man1/sh5util.1.gz %endif -%if !0%{?legacy_cray} %files cray +%{?comp_at} # do not remove cray sepcific packages from SLES update %{_libdir}/slurm/acct_gather_energy_cray_aries.so %{_libdir}/slurm/core_spec_cray_aries.so @@ -1257,10 +1241,9 @@ exit 0 %{_libdir}/slurm/switch_cray_aries.so %{_libdir}/slurm/task_cray_aries.so %{_libdir}/slurm/mpi_cray_shasta.so - %if 0%{?have_json_c} +%if 0%{?have_json_c} %{_libdir}/slurm/node_features_knl_cray.so %{_libdir}/slurm/power_cray_aries.so - %endif %endif %changelog