From 5f5769c76038a6f2670b94dc1db36cb7c991d1ff Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Thu, 24 Aug 2023 11:00:25 +0200 Subject: [PATCH] Expand the %pypi_name macro --- python-sphinxcontrib-serializinghtml.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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/