From 9eaa2d6c38fb6e989644fadcd0b3c5b6a70fb338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sat, 8 Aug 2020 21:45:19 +0200 Subject: [PATCH] spec: replace hardcoded python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Pierret (fepitre) --- python-sphinxcontrib-htmlhelp.spec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/python-sphinxcontrib-htmlhelp.spec b/python-sphinxcontrib-htmlhelp.spec index 2624f5b..8ce9e9f 100644 --- a/python-sphinxcontrib-htmlhelp.spec +++ b/python-sphinxcontrib-htmlhelp.spec @@ -13,24 +13,24 @@ 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: python3-html5lib +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-sphinx >= 1:2 +BuildRequires: python%{python3_pkgversion}-html5lib %endif %description sphinxcontrib-htmlhelp is a sphinx extension which renders HTML help files. -%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-htmlhelp is a sphinx extension which renders HTML help files. @@ -71,7 +71,7 @@ popd %endif -%files -n python3-%{pypi_name} -f sphinxcontrib.htmlhelp.lang +%files -n python%{python3_pkgversion}-%{pypi_name} -f sphinxcontrib.htmlhelp.lang %license LICENSE %doc README.rst %{python3_sitelib}/sphinxcontrib/