spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
b9e6fdbd07
commit
d5376c4e59
@ -12,12 +12,12 @@ URL: http://sphinx-doc.org/
|
|||||||
Source0: %{pypi_source}
|
Source0: %{pypi_source}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
BuildRequires: python3-sphinx >= 1:2
|
BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -25,11 +25,11 @@ sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML
|
|||||||
via JavaScript.
|
via JavaScript.
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{pypi_name}
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||||
|
|
||||||
%description -n python3-%{pypi_name}
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML
|
sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML
|
||||||
via JavaScript.
|
via JavaScript.
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ via JavaScript.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python3_sitelib}/sphinxcontrib/
|
%{python3_sitelib}/sphinxcontrib/
|
||||||
|
Loading…
Reference in New Issue
Block a user