Use the upstream description text (and don’t write it twice)
This commit is contained in:
@@ -13,17 +13,18 @@ BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
|
||||
%description
|
||||
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
||||
following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
%global _description %{expand:
|
||||
This package provides the numpydoc Sphinx extension for handling docstrings
|
||||
formatted according to the NumPy documentation format. The extension also adds
|
||||
the code description directives np:function, np-c:function, etc.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
|
||||
%package -n python3-numpydoc
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python3-numpydoc
|
||||
Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
|
||||
following the NumPy/SciPy format to a form palatable to Sphinx.
|
||||
%description -n python3-numpydoc %{_description}
|
||||
|
||||
|
||||
%prep
|
||||
@@ -60,6 +61,7 @@ sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py
|
||||
- Drop obsolete %%python_provide macro
|
||||
- Don’t number the sole Source
|
||||
- Drop the unnecessary explicit BR on pyproject-rpm-macros
|
||||
- Use the upstream description text (and don’t write it twice)
|
||||
|
||||
* Thu Oct 19 2023 Jerry James <loganjerry@gmail.com> - 1.6.0-1
|
||||
- Version 1.6.0
|
||||
|
||||
Reference in New Issue
Block a user