diff --git a/slurm.changes b/slurm.changes index 4c7c8b6..2e07772 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 14 13:28:13 UTC 2019 - Egbert Eich + +- Fix build for SLE-11-SP4 and older. + ------------------------------------------------------------------- Fri Jul 12 09:04:55 UTC 2019 - Christian Goll diff --git a/slurm.spec b/slurm.spec index 5203a4b..d8e69d0 100644 --- a/slurm.spec +++ b/slurm.spec @@ -1098,9 +1098,10 @@ exit 0 %{_mandir}/man1/sh5util.1.gz %endif +%if 0%{?is_opensuse} || 0%{?have_json_c} %files cray # do not remove cray sepcific packages from SLES update -%if 0%{?is_opensuse} + %if 0%{?is_opensuse} %{_libdir}/slurm/acct_gather_energy_cray.so %{_libdir}/slurm/core_spec_cray.so %{_libdir}/slurm/job_submit_cray.so @@ -1108,9 +1109,12 @@ exit 0 %{_libdir}/slurm/switch_cray.so %{_libdir}/slurm/task_cray.so %{_mandir}/man5/cray.* -%endif + %endif + %if 0%{?have_json_c} %{_libdir}/slurm/burst_buffer_cray.so %{_libdir}/slurm/node_features_knl_cray.so -%{_libdir}/slurm/power_cray.so + %{_libdir}/slurm/power_cray.so +%endif +%endif %changelog