From 039e3094d915842e4772ebf3cb8c9aa81f38474d Mon Sep 17 00:00:00 2001 From: Daniel Uvehag Date: Wed, 20 Apr 2022 15:35:34 +0200 Subject: [PATCH] Remove python- package prefix --- borgmatic.spec | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/borgmatic.spec b/borgmatic.spec index f2d4cb4..6ecadcb 100644 --- a/borgmatic.spec +++ b/borgmatic.spec @@ -3,7 +3,7 @@ %bcond_without tests -Name: python-%{pypi_name} +Name: %{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: Simple, configuration-driven backup software for servers and workstations @@ -46,25 +46,17 @@ BuildRequires: python%{python3_version}dist(toml) BuildRequires: python%{python3_version}dist(typed-ast) %endif -%global _description %{expand: -borgmatic (formerly atticmatic) is a simple Python wrapper script for -the Borg backup software that initiates a backup, prunes any old backups -according to a retention policy, and validates backups for consistency.} - -%description %_description - - -%package -n python%{python3_pkgversion}-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} - Requires: python(abi) >= 3.7 Requires: python%{python3_version}dist(jsonschema) Requires: python%{python3_version}dist(requests) Requires: (python%{python3_version}dist(ruamel.yaml) > 0.15.0 with python%{python3_version}dist(ruamel.yaml) < 0.18) Requires: (python%{python3_version}dist(colorama) >= 0.4.1 with python%{python3_version}dist(colorama) < 0.5) -%description -n python%{python3_pkgversion}-%{pypi_name} %_description + +%description +borgmatic (formerly atticmatic) is a simple Python wrapper script for +the Borg backup software that initiates a backup, prunes any old backups +according to a retention policy, and validates backups for consistency. %prep @@ -82,7 +74,7 @@ rm -rf %{pypi_name}.egg-info %{__python3} setup.py test %endif -%files -n python%{python3_pkgversion}-%{pypi_name} +%files %license LICENSE %doc README.md %{_bindir}/borgmatic