spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
2078c94474
commit
3ad382f930
@ -13,23 +13,23 @@ Source0: %{pypi_source}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
|
||||
%if %{with check}
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-sphinx >= 1:2
|
||||
BuildRequires: python%{python3_pkgversion}-pytest
|
||||
BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2
|
||||
%endif
|
||||
|
||||
%description
|
||||
sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document.
|
||||
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
%package -n python%{python3_pkgversion}-%{pypi_name}
|
||||
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-devhelp is a sphinx extension which outputs Devhelp document.
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ popd
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python3-%{pypi_name} -f sphinxcontrib.devhelp.lang
|
||||
%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.devhelp.lang
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/sphinxcontrib/
|
||||
|
Loading…
Reference in New Issue
Block a user