diff --git a/python-pydocstyle.spec b/python-pydocstyle.spec index 30e8ecf..114b16a 100644 --- a/python-pydocstyle.spec +++ b/python-pydocstyle.spec @@ -17,23 +17,20 @@ BuildRequires: python3-setuptools BuildRequires: python3dist(snowballstemmer) BuildRequires: python3dist(pytest) -%description +%global _description %{expand: A static analysis tool for checking compliance with Python docstring conventions. It supports most of PEP 257 out of the box, but it should not be considered a -reference implementation. +reference implementation.} + +%description %_description %package -n python3-%{pypi_name} Summary: %{summary} -%description -n python3-%{pypi_name} -A static analysis tool for checking compliance with Python docstring -conventions. - -It supports most of PEP 257 out of the box, but it should not be considered a -reference implementation. +%description -n python3-%{pypi_name} %_description %prep @@ -78,6 +75,7 @@ sed -E -i 's|"python(2\|3)?( -m pydocstyle)|"%{__python3}\2|' \ * Fri May 19 2023 Tadej Janež - 6.3.0-1 - Update to 6.3.0 release - Use %%{url} in %%{Source0} to avoid redundance +- Introduce %%_description to avoid %%description duplication * Fri Jan 20 2023 Fedora Release Engineering - 6.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild