diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index fca8240..38618cf 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -1,11 +1,9 @@ -%global pypi_name sphinxcontrib-htmlhelp - # when bootstrapping sphinx, we cannot even run an import check %bcond check 1 # RHEL does not include html5lib, without which the tests fail %bcond tests %[%{with check} && %{undefined rhel}] -Name: python-%{pypi_name} +Name: python-sphinxcontrib-htmlhelp Version: 2.0.4 Release: 1%{?dist} Summary: Sphinx extension for HTML help files @@ -33,10 +31,10 @@ BuildRequires: python%{python3_pkgversion}-devel sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. -%package -n python%{python3_pkgversion}-%{pypi_name} +%package -n python%{python3_pkgversion}-sphinxcontrib-htmlhelp Summary: %{summary} -%description -n python%{python3_pkgversion}-%{pypi_name} +%description -n python%{python3_pkgversion}-sphinxcontrib-htmlhelp sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. @@ -80,7 +78,7 @@ popd %endif -%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.htmlhelp.lang +%files -n python%{python3_pkgversion}-sphinxcontrib-htmlhelp -f sphinxcontrib.htmlhelp.lang %license LICENSE %doc README.rst %{python3_sitelib}/sphinxcontrib/