- Fixed some rpmlint warnings.

OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=45
This commit is contained in:
Egbert Eich 2018-03-15 12:23:19 +00:00 committed by Git OBS Bridge
parent 23b2a195ba
commit 19ceb304e2
3 changed files with 7 additions and 3 deletions

2
slurm-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
addFilter(".*obsolete-not-provided slurm-sched-wiki.*")
addFilter(".*obsolete-not-provided slurmdb-direct.*")

View File

@ -15,6 +15,7 @@ Wed Mar 14 19:34:58 UTC 2018 - eich@suse.com
Removed. Code upstream.
- slurmctld-service-var-run-path.patch:
Replaced by sed script.
- Fixed some rpmlint warnings.
-------------------------------------------------------------------
Mon Jan 29 13:43:57 UTC 2018 - cgoll@suse.com

View File

@ -63,6 +63,7 @@ License: SUSE-GPL-2.0-with-openssl-exception
Group: Productivity/Clustering/Computing
Url: https://computing.llnl.gov/linux/slurm/
Source: https://download.schedmd.com/slurm/%{name}-%{ver}.tar.bz2
Source1: slurm-rpmlintrc
Patch0: slurm-2.4.4-rpath.patch
Patch1: slurm-2.4.4-init.patch
Patch2: pam_slurm-Initialize-arrays-and-pass-sizes.patch
@ -528,7 +529,7 @@ exit 0
%post config
%if 0%{?with_systemd}
%if 0%{?sle_version} >= 120200
%if 0%{?tmpfiles_create:1}
%tmpfiles_create slurm.conf
%else
systemd-tmpfiles --create slurm.conf
@ -674,7 +675,7 @@ exit 0
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
%{_sysconfdir}/%{name}/slurmdbd.conf.example
%if 0%{?with_systemd}
%config %{_unitdir}/slurmdbd.service
%{_unitdir}/slurmdbd.service
%else
%{_initrddir}/slurmdbd
%endif
@ -688,7 +689,7 @@ exit 0
%files plugins
%defattr(-,root,root)
%{_sysconfdir}/ld.so.conf.d/slurm.conf
%config %{_sysconfdir}/ld.so.conf.d/slurm.conf
%dir %{_libdir}/slurm
%{_libdir}/slurm/libslurmfull.so
%{_libdir}/slurm/accounting_storage_filetxt.so