diff --git a/python-sphinxcontrib-serializinghtml.spec b/python-sphinxcontrib-serializinghtml.spec
index 09c33e7..6eb9087 100644
--- a/python-sphinxcontrib-serializinghtml.spec
+++ b/python-sphinxcontrib-serializinghtml.spec
@@ -1,9 +1,7 @@
-%global pypi_name sphinxcontrib-serializinghtml
-
# when bootstrapping sphinx, we cannot run tests yet
%bcond_without check
-Name: python-%{pypi_name}
+Name: python-sphinxcontrib-serializinghtml
Version: 1.1.9
Release: 1%{?dist}
Summary: Sphinx extension for serialized HTML
@@ -27,10 +25,10 @@ sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized"
HTML files (json and pickle).
-%package -n python%{python3_pkgversion}-%{pypi_name}
+%package -n python%{python3_pkgversion}-sphinxcontrib-serializinghtml
Summary: %{summary}
-%description -n python%{python3_pkgversion}-%{pypi_name}
+%description -n python%{python3_pkgversion}-sphinxcontrib-serializinghtml
sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized"
HTML files (json and pickle).
@@ -76,7 +74,7 @@ popd
%endif
-%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.serializinghtml.lang
+%files -n python%{python3_pkgversion}-sphinxcontrib-serializinghtml -f sphinxcontrib.serializinghtml.lang
%license LICENSE
%doc README.rst
%{python3_sitelib}/sphinxcontrib/