diff --git a/borgmatic.spec b/borgmatic.spec index 6afebb2..83de148 100644 --- a/borgmatic.spec +++ b/borgmatic.spec @@ -47,6 +47,7 @@ find . -name *.so -type f -exec chmod 0755 {} \; install -d %{buildroot}%{_unitdir} install -d %{buildroot}%{_docdir} +install -d %{buildroot}%{_sysconfdir}/borgmatic install -d %{buildroot}%{_sysconfdir}/borgmatic.d install -D -m 644 %{SOURCE1} %{buildroot}%{_docdir} @@ -62,6 +63,8 @@ py.test-3 borgmatic/tests/unit %files %doc README.md PKG-INFO +%attr(0750, root, root) %{_sysconfdir}/borgmatic +%attr(0750, root, root) %{_sysconfdir}/borgmatic.d %{python3_sitelib}/* %{_bindir}/borgmatic %{_bindir}/generate-borgmatic-config @@ -69,7 +72,6 @@ py.test-3 borgmatic/tests/unit %{_unitdir}/borgmatic.service %{_unitdir}/borgmatic.timer %{_docdir}/LICENSE -%{_sysconfdir}/borgmatic.d %post %systemd_post borgmatic.timer @@ -83,6 +85,7 @@ py.test-3 borgmatic/tests/unit %changelog * Thu Apr 12 2018 Benjamin Pereto - 1.1.15-2 - add empty /etc/borgmatic.d as described in documentation +- add empty /etc/borgmatic as described in documentation * Thu Apr 12 2018 Benjamin Pereto - 1.1.15-1 - Initial packaging for the borgmatic project