Expand the %pypi_name macro

This commit is contained in:
Karolina Surma 2023-08-24 16:36:07 +02:00
parent 26b06ce4ed
commit 9df41b7614

View File

@ -3,7 +3,7 @@
# when bootstrapping sphinx, we cannot run tests yet
%bcond_without check
Name: python-%{pypi_name}
Name: python-sphinxcontrib-qthelp
Version: 1.0.6
Release: 1%{?dist}
Summary: Sphinx extension for QtHelp documents
@ -26,10 +26,10 @@ BuildRequires: python%{python3_pkgversion}-devel
sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.
%package -n python%{python3_pkgversion}-%{pypi_name}
%package -n python%{python3_pkgversion}-sphinxcontrib-qthelp
Summary: %{summary}
%description -n python%{python3_pkgversion}-%{pypi_name}
%description -n python%{python3_pkgversion}-sphinxcontrib-qthelp
sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.
@ -73,7 +73,7 @@ popd
%endif
%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.qthelp.lang
%files -n python%{python3_pkgversion}-sphinxcontrib-qthelp -f sphinxcontrib.qthelp.lang
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/