diff --git a/borgmatic.spec b/borgmatic.spec index 1b079be..6afebb2 100644 --- a/borgmatic.spec +++ b/borgmatic.spec @@ -3,7 +3,7 @@ Name: %{srcname} Version: 1.1.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple Python wrapper script for borgbackup License: GPLv3 @@ -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.d install -D -m 644 %{SOURCE1} %{buildroot}%{_docdir} install -D -m 644 %{SOURCE2} %{buildroot}%{_unitdir} @@ -68,6 +69,7 @@ py.test-3 borgmatic/tests/unit %{_unitdir}/borgmatic.service %{_unitdir}/borgmatic.timer %{_docdir}/LICENSE +%{_sysconfdir}/borgmatic.d %post %systemd_post borgmatic.timer @@ -79,6 +81,9 @@ py.test-3 borgmatic/tests/unit %systemd_postun borgmatic.timer %changelog +* Thu Apr 12 2018 Benjamin Pereto - 1.1.15-2 +- add empty /etc/borgmatic.d as described in documentation + * Thu Apr 12 2018 Benjamin Pereto - 1.1.15-1 - Initial packaging for the borgmatic project