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
This commit is contained in:
Egbert Eich 2019-02-01 19:44:10 +00:00 committed by Git OBS Bridge
parent a857bd00b6
commit 2b7d9f397e
2 changed files with 29 additions and 0 deletions

View File

@ -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 Thu Jan 31 20:30:32 UTC 2019 - eich@suse.com

View File

@ -31,6 +31,9 @@
%if 0%{?suse_version} >= 1220 || 0%{?sle_version} >= 120000 %if 0%{?suse_version} >= 1220 || 0%{?sle_version} >= 120000
%define with_systemd 1 %define with_systemd 1
%endif %endif
%if 0%{?suse_version:1} && 0%{?suse_version} <= 1140
%define comp_at %defattr(-,root,root)
%endif
%if 0 %if 0
%define have_netloc 1 %define have_netloc 1
@ -666,6 +669,7 @@ exit 0
%endif %endif
%files %files
%{?comp_at}
%doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER %doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER
%my_license COPYING %my_license COPYING
%{_bindir}/sacct %{_bindir}/sacct
@ -722,26 +726,32 @@ exit 0
%{_mandir}/man8/spank* %{_mandir}/man8/spank*
%files openlava %files openlava
%{?comp_at}
%{_bindir}/bjobs %{_bindir}/bjobs
%{_bindir}/bkill %{_bindir}/bkill
%{_bindir}/bsub %{_bindir}/bsub
%{_bindir}/lsid %{_bindir}/lsid
%files seff %files seff
%{?comp_at}
%{_bindir}/seff %{_bindir}/seff
%{_bindir}/smail %{_bindir}/smail
%files doc %files doc
%{?comp_at}
%dir %{_datadir}/doc/%{name}-%{dl_ver} %dir %{_datadir}/doc/%{name}-%{dl_ver}
%{_datadir}/doc/%{name}-%{dl_ver}/* %{_datadir}/doc/%{name}-%{dl_ver}/*
%files -n %{libslurm} %files -n %{libslurm}
%{?comp_at}
%{_libdir}/libslurm*.so.%{so_version}* %{_libdir}/libslurm*.so.%{so_version}*
%files -n libpmi%{pmi_so} %files -n libpmi%{pmi_so}
%{?comp_at}
%{_libdir}/libpmi*.so.%{pmi_so}* %{_libdir}/libpmi*.so.%{pmi_so}*
%files devel %files devel
%{?comp_at}
%{_prefix}/include/slurm %{_prefix}/include/slurm
%{_libdir}/libpmi.so %{_libdir}/libpmi.so
%{_libdir}/libpmi2.so %{_libdir}/libpmi2.so
@ -752,17 +762,21 @@ exit 0
%{_libdir}/pkgconfig/slurm.pc %{_libdir}/pkgconfig/slurm.pc
%files sview %files sview
%{?comp_at}
%{_bindir}/sview %{_bindir}/sview
%{_mandir}/man1/sview.1* %{_mandir}/man1/sview.1*
%files auth-none %files auth-none
%{?comp_at}
%{_libdir}/slurm/auth_none.so %{_libdir}/slurm/auth_none.so
%files munge %files munge
%{?comp_at}
%{_libdir}/slurm/auth_munge.so %{_libdir}/slurm/auth_munge.so
%{_libdir}/slurm/crypto_munge.so %{_libdir}/slurm/crypto_munge.so
%files -n perl-slurm %files -n perl-slurm
%{?comp_at}
%{perl_vendorarch}/Slurm.pm %{perl_vendorarch}/Slurm.pm
%{perl_vendorarch}/Slurm %{perl_vendorarch}/Slurm
%{perl_vendorarch}/auto/Slurm %{perl_vendorarch}/auto/Slurm
@ -771,6 +785,7 @@ exit 0
%{_mandir}/man3/Slurm*.3pm.* %{_mandir}/man3/Slurm*.3pm.*
%files slurmdbd %files slurmdbd
%{?comp_at}
%{_sbindir}/slurmdbd %{_sbindir}/slurmdbd
%{_mandir}/man5/slurmdbd.* %{_mandir}/man5/slurmdbd.*
%{_mandir}/man8/slurmdbd.* %{_mandir}/man8/slurmdbd.*
@ -784,11 +799,13 @@ exit 0
%{_sbindir}/rcslurmdbd %{_sbindir}/rcslurmdbd
%files sql %files sql
%{?comp_at}
%dir %{_libdir}/slurm %dir %{_libdir}/slurm
%{_libdir}/slurm/accounting_storage_mysql.so %{_libdir}/slurm/accounting_storage_mysql.so
%{_libdir}/slurm/jobcomp_mysql.so %{_libdir}/slurm/jobcomp_mysql.so
%files plugins %files plugins
%{?comp_at}
%config %{_sysconfdir}/ld.so.conf.d/slurm.conf %config %{_sysconfdir}/ld.so.conf.d/slurm.conf
%dir %{_libdir}/slurm %dir %{_libdir}/slurm
%{_libdir}/slurm/libslurmfull.so %{_libdir}/slurm/libslurmfull.so
@ -883,10 +900,12 @@ exit 0
%{_libdir}/slurm/node_features_knl_generic.so %{_libdir}/slurm/node_features_knl_generic.so
%files lua %files lua
%{?comp_at}
%{_libdir}/slurm/job_submit_lua.so %{_libdir}/slurm/job_submit_lua.so
%{_libdir}/slurm/proctrack_lua.so %{_libdir}/slurm/proctrack_lua.so
%files torque %files torque
%{?comp_at}
%{_bindir}/pbsnodes %{_bindir}/pbsnodes
%{_bindir}/qalter %{_bindir}/qalter
%{_bindir}/qdel %{_bindir}/qdel
@ -901,14 +920,17 @@ exit 0
%{_libdir}/slurm/spank_pbs.so %{_libdir}/slurm/spank_pbs.so
%files sjstat %files sjstat
%{?comp_at}
%{_bindir}/sjstat %{_bindir}/sjstat
%files pam_slurm %files pam_slurm
%{?comp_at}
%doc ../README.pam_slurm ../README.pam_slurm_adopt %doc ../README.pam_slurm ../README.pam_slurm_adopt
/%_lib/security/pam_slurm.so /%_lib/security/pam_slurm.so
/%_lib/security/pam_slurm_adopt.so /%_lib/security/pam_slurm_adopt.so
%files node %files node
%{?comp_at}
%{_sbindir}/slurmd %{_sbindir}/slurmd
%{_sbindir}/slurmstepd %{_sbindir}/slurmstepd
%{_mandir}/man8/slurmd.* %{_mandir}/man8/slurmd.*
@ -922,6 +944,7 @@ exit 0
%endif %endif
%files config %files config
%{?comp_at}
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/layouts.d %dir %{_sysconfdir}/%{name}/layouts.d
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf %config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
@ -936,6 +959,7 @@ exit 0
%config(noreplace) %{_sysconfdir}/logrotate.d/slurm* %config(noreplace) %{_sysconfdir}/logrotate.d/slurm*
%files config-man %files config-man
%{?comp_at}
%{_mandir}/man5/acct_gather.conf.* %{_mandir}/man5/acct_gather.conf.*
%{_mandir}/man5/burst_buffer.conf.* %{_mandir}/man5/burst_buffer.conf.*
%{_mandir}/man5/ext_sensors.conf.* %{_mandir}/man5/ext_sensors.conf.*