Reuse Summary and %description

This commit is contained in:
Miro Hrončok 2023-11-20 16:01:31 +01:00
parent c7fbe72ce0
commit 460940e6b7

View File

@ -9,28 +9,24 @@ Source: %{pypi_source alabaster}
BuildArch: noarch BuildArch: noarch
%description %global _description %{expand:
Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx
documentation system. documentation system.
It began as a third-party theme, and is still maintained separately, It began as a third-party theme, and is still maintained separately,
but as of Sphinx 1.3, Alabaster is an install-time dependency of Sphinx and is but as of Sphinx 1.3, Alabaster is an install-time dependency of Sphinx and is
selected as the default theme. selected as the default theme.}
%description %_description
%package -n python%{python3_pkgversion}-sphinx-theme-alabaster %package -n python%{python3_pkgversion}-sphinx-theme-alabaster
Summary: Configurable sidebar-enabled Sphinx theme Summary: %{summary}
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
%py_provides python%{python3_pkgversion}-alabaster %py_provides python%{python3_pkgversion}-alabaster
%description -n python%{python3_pkgversion}-sphinx-theme-alabaster %description -n python%{python3_pkgversion}-sphinx-theme-alabaster %_description
Alabaster is a visually (c)lean, responsive, configurable theme for the Sphinx
documentation system.
It began as a third-party theme, and is still maintained separately,
but as of Sphinx 1.3, Alabaster is an install-time dependency of Sphinx and is
selected as the default theme.
%prep %prep