Use the upstream description text (and don’t write it twice)

This commit is contained in:
Benjamin A. Beasley
2024-01-01 10:41:12 -05:00
parent 22da03b0f1
commit db4970851a
+8 -6
View File
@@ -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