Expand the %pypi_name macro
This commit is contained in:
parent
90bb31ca8c
commit
5f5769c760
@ -1,9 +1,7 @@
|
|||||||
%global pypi_name sphinxcontrib-serializinghtml
|
|
||||||
|
|
||||||
# when bootstrapping sphinx, we cannot run tests yet
|
# when bootstrapping sphinx, we cannot run tests yet
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-sphinxcontrib-serializinghtml
|
||||||
Version: 1.1.9
|
Version: 1.1.9
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Sphinx extension for serialized HTML
|
Summary: Sphinx extension for serialized HTML
|
||||||
@ -27,10 +25,10 @@ sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized"
|
|||||||
HTML files (json and pickle).
|
HTML files (json and pickle).
|
||||||
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
%package -n python%{python3_pkgversion}-sphinxcontrib-serializinghtml
|
||||||
Summary: %{summary}
|
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"
|
sphinxcontrib-serializinghtml is a sphinx extension which outputs "serialized"
|
||||||
HTML files (json and pickle).
|
HTML files (json and pickle).
|
||||||
|
|
||||||
@ -76,7 +74,7 @@ popd
|
|||||||
%endif
|
%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
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/sphinxcontrib/
|
%{python3_sitelib}/sphinxcontrib/
|
||||||
|
Loading…
Reference in New Issue
Block a user