From 48e356b0465371be7aedfbcc0fc65c45430f057c0adb187fbfd0778dffab261d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 15 Jun 2016 12:16:19 +0000 Subject: [PATCH] rpmlint: mark /var/run/salt as %ghost OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=72 --- salt.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/salt.spec b/salt.spec index 58409e9..706e2fa 100644 --- a/salt.spec +++ b/salt.spec @@ -796,6 +796,7 @@ fi %dir %attr(0750, root, root) %{_sysconfdir}/salt/minion.d/ %dir %attr(0750, root, root) %{_sysconfdir}/salt/pki/minion/ %dir %attr(0750, root, root) %{_localstatedir}/cache/salt/minion/ +%dir %ghost %attr(0750, root, salt) %{_localstatedir}/run/salt/minion %{_sbindir}/rcsalt-minion # Install plugin only on SUSE machines @@ -855,6 +856,7 @@ fi %dir %attr(0750, salt, salt) %{_localstatedir}/cache/salt/master/roots/ %dir %attr(0750, salt, salt) %{_localstatedir}/cache/salt/master/syndics/ %dir %attr(0750, salt, salt) %{_localstatedir}/cache/salt/master/tokens/ +%dir %ghost %attr(0750, salt, salt) %{_localstatedir}/run/salt/master/ %files raet %defattr(-,root,root,-) @@ -875,11 +877,12 @@ fi %attr(755,root,root)%{python_sitelib}/salt/cloud/deploy/*.sh %doc LICENSE AUTHORS README.rst HACKING.rst README.SUSE # -%dir %attr(0750, root, salt) %{_sysconfdir}/salt -%dir %attr(0750, root, salt) %{_sysconfdir}/salt/pki -%dir %attr(0750, salt, salt) %{_localstatedir}/log/salt -%dir %attr(0750, root, salt) %{_localstatedir}/cache/salt -%dir %attr(0750, root, salt) /srv/spm +%dir %attr(0750, root, salt) %{_sysconfdir}/salt +%dir %attr(0750, root, salt) %{_sysconfdir}/salt/pki +%dir %attr(0750, salt, salt) %{_localstatedir}/log/salt +%dir %attr(0750, root, salt) %{_localstatedir}/cache/salt +%dir %ghost %attr(0750, root, salt) %{_localstatedir}/run/salt +%dir %attr(0750, root, salt) /srv/spm %if %{with systemd} /usr/lib/tmpfiles.d/salt.conf %endif