From 2b7d9f397eccb13974b84781b1ccb1488155112a637697f718aef9d493de5d4b Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 1 Feb 2019 19:44:10 +0000 Subject: [PATCH] Accepting request 670635 from home:eeich:branches:network:cluster - Add backward compatibility with SLE-11 SP4 OBS-URL: https://build.opensuse.org/request/show/670635 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=88 --- slurm.changes | 5 +++++ slurm.spec | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/slurm.changes b/slurm.changes index e10ef1f..c4890e3 100644 --- a/slurm.changes +++ b/slurm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 1 19:27:10 UTC 2019 - eich@suse.com + +- Add backward compatibility with SLE-11 SP4 + ------------------------------------------------------------------- Thu Jan 31 20:30:32 UTC 2019 - eich@suse.com diff --git a/slurm.spec b/slurm.spec index cf2fe86..db3854e 100644 --- a/slurm.spec +++ b/slurm.spec @@ -31,6 +31,9 @@ %if 0%{?suse_version} >= 1220 || 0%{?sle_version} >= 120000 %define with_systemd 1 %endif +%if 0%{?suse_version:1} && 0%{?suse_version} <= 1140 +%define comp_at %defattr(-,root,root) +%endif %if 0 %define have_netloc 1 @@ -666,6 +669,7 @@ exit 0 %endif %files +%{?comp_at} %doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER %my_license COPYING %{_bindir}/sacct @@ -722,26 +726,32 @@ exit 0 %{_mandir}/man8/spank* %files openlava +%{?comp_at} %{_bindir}/bjobs %{_bindir}/bkill %{_bindir}/bsub %{_bindir}/lsid %files seff +%{?comp_at} %{_bindir}/seff %{_bindir}/smail %files doc +%{?comp_at} %dir %{_datadir}/doc/%{name}-%{dl_ver} %{_datadir}/doc/%{name}-%{dl_ver}/* %files -n %{libslurm} +%{?comp_at} %{_libdir}/libslurm*.so.%{so_version}* %files -n libpmi%{pmi_so} +%{?comp_at} %{_libdir}/libpmi*.so.%{pmi_so}* %files devel +%{?comp_at} %{_prefix}/include/slurm %{_libdir}/libpmi.so %{_libdir}/libpmi2.so @@ -752,17 +762,21 @@ exit 0 %{_libdir}/pkgconfig/slurm.pc %files sview +%{?comp_at} %{_bindir}/sview %{_mandir}/man1/sview.1* %files auth-none +%{?comp_at} %{_libdir}/slurm/auth_none.so %files munge +%{?comp_at} %{_libdir}/slurm/auth_munge.so %{_libdir}/slurm/crypto_munge.so %files -n perl-slurm +%{?comp_at} %{perl_vendorarch}/Slurm.pm %{perl_vendorarch}/Slurm %{perl_vendorarch}/auto/Slurm @@ -771,6 +785,7 @@ exit 0 %{_mandir}/man3/Slurm*.3pm.* %files slurmdbd +%{?comp_at} %{_sbindir}/slurmdbd %{_mandir}/man5/slurmdbd.* %{_mandir}/man8/slurmdbd.* @@ -784,11 +799,13 @@ exit 0 %{_sbindir}/rcslurmdbd %files sql +%{?comp_at} %dir %{_libdir}/slurm %{_libdir}/slurm/accounting_storage_mysql.so %{_libdir}/slurm/jobcomp_mysql.so %files plugins +%{?comp_at} %config %{_sysconfdir}/ld.so.conf.d/slurm.conf %dir %{_libdir}/slurm %{_libdir}/slurm/libslurmfull.so @@ -883,10 +900,12 @@ exit 0 %{_libdir}/slurm/node_features_knl_generic.so %files lua +%{?comp_at} %{_libdir}/slurm/job_submit_lua.so %{_libdir}/slurm/proctrack_lua.so %files torque +%{?comp_at} %{_bindir}/pbsnodes %{_bindir}/qalter %{_bindir}/qdel @@ -901,14 +920,17 @@ exit 0 %{_libdir}/slurm/spank_pbs.so %files sjstat +%{?comp_at} %{_bindir}/sjstat %files pam_slurm +%{?comp_at} %doc ../README.pam_slurm ../README.pam_slurm_adopt /%_lib/security/pam_slurm.so /%_lib/security/pam_slurm_adopt.so %files node +%{?comp_at} %{_sbindir}/slurmd %{_sbindir}/slurmstepd %{_mandir}/man8/slurmd.* @@ -922,6 +944,7 @@ exit 0 %endif %files config +%{?comp_at} %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/layouts.d %config(noreplace) %{_sysconfdir}/%{name}/slurm.conf @@ -936,6 +959,7 @@ exit 0 %config(noreplace) %{_sysconfdir}/logrotate.d/slurm* %files config-man +%{?comp_at} %{_mandir}/man5/acct_gather.conf.* %{_mandir}/man5/burst_buffer.conf.* %{_mandir}/man5/ext_sensors.conf.*