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
This commit is contained in:
Petr Menšík 2025-07-02 15:13:05 +02:00
parent ac8f6bcbb5
commit e9a061b8a5

View File

@ -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