Reuse %description text across subpackages

This commit is contained in:
Maxwell G 2023-10-20 01:42:57 +00:00
parent 956102c5d9
commit eefdf30840
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -14,35 +14,21 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
%global _description %{expand:
ResolveLib at the highest level provides a Resolver class that
includes dependency resolution logic. You give it some things, and a little
information on how it should interact with them, and it will spit out a
resolution result. Intended Usage :: import resolvelib Things I want to
resolve. requirements [...] Implement logic so the resolver understands the
requirement format. class...
requirement format. class...}
%description %_description
%package -n python3-%{pypi_name}
Summary: %{summary}
#Requires: python3dist(black)
#Requires: python3dist(commentjson)
#Requires: python3dist(flake8)
#Requires: python3dist(html5lib)
#Requires: python3dist(packaging)
#Requires: python3dist(packaging)
#Requires: python3dist(pygraphviz)
#Requires: python3dist(pytest)
#Requires: python3dist(requests)
#Requires: python3dist(setl)
#Requires: python3dist(towncrier)
%description -n python3-%{pypi_name}
ResolveLib at the highest level provides a Resolver class that
includes dependency resolution logic. You give it some things, and a little
information on how it should interact with them, and it will spit out a
resolution result. Intended Usage :: import resolvelib Things I want to
resolve. requirements [...] Implement logic so the resolver understands the
requirement format. class...
%description -n python3-%{pypi_name} %{_description}
%prep