Reuse %description text across subpackages
This commit is contained in:
parent
956102c5d9
commit
eefdf30840
@ -14,35 +14,21 @@ BuildArch: noarch
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3dist(setuptools)
|
||||||
|
|
||||||
%description
|
%global _description %{expand:
|
||||||
ResolveLib at the highest level provides a Resolver class that
|
ResolveLib at the highest level provides a Resolver class that
|
||||||
includes dependency resolution logic. You give it some things, and a little
|
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
|
information on how it should interact with them, and it will spit out a
|
||||||
resolution result. Intended Usage :: import resolvelib Things I want to
|
resolution result. Intended Usage :: import resolvelib Things I want to
|
||||||
resolve. requirements [...] Implement logic so the resolver understands the
|
resolve. requirements [...] Implement logic so the resolver understands the
|
||||||
requirement format. class...
|
requirement format. class...}
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python3-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
|
||||||
#Requires: python3dist(black)
|
%description -n python3-%{pypi_name} %{_description}
|
||||||
#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...
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
Loading…
Reference in New Issue
Block a user