From fda6eb453f0f620049c01c545259f295d8d0051d4354e2a86b46300507b3fc4a Mon Sep 17 00:00:00 2001 From: Alberto Planas Dominguez Date: Thu, 23 Jun 2022 11:07:06 +0000 Subject: [PATCH] Accepting request 984685 from home:aplanas:branches:security Use _distconfdir for the logrotate file OBS-URL: https://build.opensuse.org/request/show/984685 OBS-URL: https://build.opensuse.org/package/show/security/rust-keylime?expand=0&rev=17 --- rust-keylime.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-keylime.spec b/rust-keylime.spec index 7c2d521..cf81d32 100644 --- a/rust-keylime.spec +++ b/rust-keylime.spec @@ -59,7 +59,7 @@ RUSTFLAGS=%{rustflags} cargo install --frozen --no-default-features --features " install -Dpm 644 keylime.conf %{buildroot}%{_sysconfdir}/keylime.conf install -Dpm 644 %{SOURCE3} %{buildroot}%{_unitdir}/keylime_agent.service install -Dpm 644 %{SOURCE4} %{buildroot}%{_prefix}/lib/firewalld/services/keylime.xml -install -Dpm 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/keylime +install -Dpm 644 %{SOURCE5} %{buildroot}%{_distconfdir}/logrotate.d/keylime install -d %{buildroot}%{_localstatedir}/log/keylime # Create work directory @@ -92,7 +92,7 @@ rm %{buildroot}%{_prefix}/.crates2.json %dir %{_prefix}/lib/firewalld/services %{_prefix}/lib/firewalld/services/keylime.xml %{_unitdir}/keylime_agent.service -%config(noreplace) %{_sysconfdir}/logrotate.d/keylime +%{_distconfdir}/logrotate.d/keylime %dir %attr(750,keylime,tss) %{_localstatedir}/log %changelog