[bind10/f19] Claim ownership of files created when configuring or running bind10
Tomas Hozza
thozza at fedoraproject.org
Wed Aug 28 14:19:14 UTC 2013
commit 25a465ffda76127f21fe27cf7afd365385cdbde8
Author: Tomas Hozza <thozza at redhat.com>
Date: Wed Aug 28 16:10:28 2013 +0200
Claim ownership of files created when configuring or running bind10
Signed-off-by: Tomas Hozza <thozza at redhat.com>
bind10.spec | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/bind10.spec b/bind10.spec
index f3f9c65..6f8f3a2 100644
--- a/bind10.spec
+++ b/bind10.spec
@@ -107,6 +107,11 @@ rm -f $RPM_BUILD_ROOT/%{b10sysconfdir}/cmdctl-certfile.pem
touch $RPM_BUILD_ROOT/%{b10sysconfdir}/cmdctl-keyfile.pem
touch $RPM_BUILD_ROOT/%{b10sysconfdir}/cmdctl-certfile.pem
+# claim ownership of files created when configuring or running bind10
+touch $RPM_BUILD_ROOT/%{b10sysconfdir}/cmdctl-accounts.csv
+touch $RPM_BUILD_ROOT/%{b10localstatedir}/b10-config.db
+touch $RPM_BUILD_ROOT/%{b10localstatedir}/logger_lockfile
+
# Package those files via %%doc
rm -f $RPM_BUILD_ROOT/%{_docdir}/bind10/{AUTHORS,COPYING,ChangeLog,README}
rm -f $RPM_BUILD_ROOT/%{_docdir}/bind10/bind10*
@@ -202,6 +207,9 @@ fi
%attr(0750, root, named) %dir %{b10sysconfdir}
%attr(0640, root, named) %config(noreplace) %ghost %{b10sysconfdir}/cmdctl-keyfile.pem
%attr(0640, root, named) %config(noreplace) %ghost %{b10sysconfdir}/cmdctl-certfile.pem
+%config(noreplace) %ghost %{b10sysconfdir}/cmdctl-accounts.csv
+%config(noreplace) %ghost %{b10localstatedir}/b10-config.db
+%ghost %{b10localstatedir}/logger_lockfile
%{_sbindir}/bind10
%{_mandir}/man8/bind10*
%{_bindir}/b10-certgen
@@ -385,6 +393,7 @@ fi
* Wed Aug 28 2013 Tomas Hozza <thozza at redhat.com> - 1.1.0-2
- Fix cmdctl-certfile.pem and cmdctl-keyfile.pem owner group (#1001695)
- Generate private key and cert for b10-cmdctl during installation (#913230)
+- Claim ownership of files created when configuring or running bind10
* Fri Aug 09 2013 Tomas Hozza <thozza at redhat.com> - 1.1.0-1
- update to 1.1.0
More information about the scm-commits
mailing list