From fd4444f05026b0c0fa6621550ef2b1047113385e Mon Sep 17 00:00:00 2001 From: Pavel Cahyna Date: Wed, 7 Aug 2024 13:57:48 +0200 Subject: [PATCH] Add /etc/rear/{,os.conf} to %files Prevents /etc/rear/os.conf and the whole /etc/rear directory from being unowned (the former was breaking the build). Resolves: RHEL-26827 --- rear.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rear.spec b/rear.spec index aff8627..bf499ef 100644 --- a/rear.spec +++ b/rear.spec @@ -242,7 +242,9 @@ install -m 0644 %{SOURCE3} %{buildroot}%{_docdir}/%{name}/ %files %license COPYING %doc MAINTAINERS README.adoc doc/*.txt doc/user-guide/*.html +%dir %{_sysconfdir}/rear/ %config(noreplace) %{_sysconfdir}/rear/local.conf +%{_sysconfdir}/rear/os.conf %{_datadir}/rear/ %{_docdir}/%{name}/rear.* %{_mandir}/man8/rear.8*