diff --git a/slurm-rpmlintrc b/slurm-rpmlintrc new file mode 100644 index 0000000..67a37bf --- /dev/null +++ b/slurm-rpmlintrc @@ -0,0 +1,2 @@ +addFilter(".*obsolete-not-provided slurm-sched-wiki.*") +addFilter(".*obsolete-not-provided slurmdb-direct.*") diff --git a/slurm.changes b/slurm.changes index 49a64b2..5201545 100644 --- a/slurm.changes +++ b/slurm.changes @@ -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 diff --git a/slurm.spec b/slurm.spec index 0c41981..bf9a23b 100644 --- a/slurm.spec +++ b/slurm.spec @@ -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