Remove python- package prefix

This commit is contained in:
Daniel Uvehag
2022-04-20 15:35:34 +02:00
parent a6bb84a2c0
commit 039e3094d9
+7 -15
View File
@@ -3,7 +3,7 @@
%bcond_without tests %bcond_without tests
Name: python-%{pypi_name} Name: %{pypi_name}
Version: %{pypi_version} Version: %{pypi_version}
Release: 1%{?dist} Release: 1%{?dist}
Summary: Simple, configuration-driven backup software for servers and workstations 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) BuildRequires: python%{python3_version}dist(typed-ast)
%endif %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(abi) >= 3.7
Requires: python%{python3_version}dist(jsonschema) Requires: python%{python3_version}dist(jsonschema)
Requires: python%{python3_version}dist(requests) 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(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) 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 %prep
@@ -82,7 +74,7 @@ rm -rf %{pypi_name}.egg-info
%{__python3} setup.py test %{__python3} setup.py test
%endif %endif
%files -n python%{python3_pkgversion}-%{pypi_name} %files
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{_bindir}/borgmatic %{_bindir}/borgmatic