Remove python- package prefix
This commit is contained in:
+7
-15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user