Expand the %pypi_name macro
This commit is contained in:
parent
901422ae1a
commit
5b5766d251
@ -1,9 +1,7 @@
|
||||
%global pypi_name sphinxcontrib-applehelp
|
||||
|
||||
# when bootstrapping sphinx, we cannot run tests yet
|
||||
%bcond_without check
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Name: python-sphinxcontrib-applehelp
|
||||
Version: 1.0.7
|
||||
Release: 1%{?dist}
|
||||
Summary: Sphinx extension for Apple help books
|
||||
@ -30,10 +28,10 @@ BuildRequires: python%{python3_pkgversion}-devel
|
||||
sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||
%package -n python%{python3_pkgversion}-sphinxcontrib-applehelp
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{pypi_name}
|
||||
%description -n python%{python3_pkgversion}-sphinxcontrib-applehelp
|
||||
sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books.
|
||||
|
||||
|
||||
@ -73,7 +71,7 @@ popd
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.applehelp.lang
|
||||
%files -n python%{python3_pkgversion}-sphinxcontrib-applehelp -f sphinxcontrib.applehelp.lang
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/sphinxcontrib/
|
||||
|
Loading…
Reference in New Issue
Block a user