From e9a061b8a5f049a5213d69df434d842f7c49823a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Wed, 2 Jul 2025 15:13:05 +0200 Subject: [PATCH] Make root.key maintained unmodified Hide rpm -V unbound-libs changed file when unbound-anchor has done the change. Do not use %config for the symlink presence. Resolves: RHEL-116732 --- unbound.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unbound.spec b/unbound.spec index 8188022..a50fc0a 100644 --- a/unbound.spec +++ b/unbound.spec @@ -522,10 +522,10 @@ popd %{_sysusersdir}/%{name}.conf %{_libdir}/libunbound.so.8* %dir %attr(0755,unbound,unbound) %{_sharedstatedir}/%{name} -%config(noreplace) %verify(not link user group) %{_sharedstatedir}/%{name}/root.key +%config %verify(not link owner group size mtime mode md5) %{_sharedstatedir}/%{name}/root.key # just left for backwards compat with user changed unbound.conf files - format is different! -%attr(0644,root,root) %config %{_sysconfdir}/%{name}/root.key -%attr(0644,root,root) %config %{_sysconfdir}/%{name}/dnssec-root.key +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/root.key +%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dnssec-root.key %attr(0644,root,root) %{_tmpfilesdir}/unbound-libs.conf %files anchor