diff --git a/borgmatic.spec b/borgmatic.spec index 3eeb170..705dfff 100644 --- a/borgmatic.spec +++ b/borgmatic.spec @@ -1,6 +1,6 @@ Name: borgmatic Version: 1.3.23 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple Python wrapper script for borgbackup License: GPLv3 @@ -9,13 +9,17 @@ Source0: https://projects.torsion.org/witten/borgmatic/archive/%{version} BuildArch: noarch -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel +%if 0%{?fedora} < 30 || 0%{?rhel} < 8 +BuildRequires: systemd +%else BuildRequires: systemd-rpm-macros +%endif Requires: borgbackup -Requires: python3-colorama -Requires: python3-ruamel-yaml -Requires: python3-pykwalify +Requires: python%{python3_pkgversion}-colorama +Requires: python%{python3_pkgversion}-ruamel-yaml +Requires: python%{python3_pkgversion}-pykwalify %description @@ -71,6 +75,10 @@ install -Dpm 0644 sample/systemd/%{name}.timer %{buildroot}%{_unitdir}/%{name}.t %changelog +* Sat Oct 12 2019 Felix Kaechele - 1.3.23-2 +- insert conditionals for F29 and EL7 +- bring back python3_version variable for EL7 compatibility + * Fri Oct 11 2019 Felix Kaechele - 1.3.23-1 - update to 1.3.23 - fix dependencies