From be0811901f28240f0d1bc6e81c57fcd328b25903 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 10:43:06 +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-docutils.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-docutils.spec b/python-docutils.spec index d6e08eb..1dc930b 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -12,8 +12,8 @@ Source0: https://sourceforge.net/projects/%{srcname}/files/%{srcname}/%{v BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools %global _description %{expand: The Docutils project specifies a plaintext markup language, reStructuredText, @@ -29,10 +29,10 @@ Python inline documentation modules and packages.} %description %_description -%package -n python3-%{srcname} +%package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} -%description -n python3-%{srcname} %_description +%description -n python%{python3_pkgversion}-%{srcname} %_description %prep @@ -73,7 +73,7 @@ mv biohazard.swf docs/user/rst/images/biohazard.swf rm docs/user/rst/images/biohazard.swf -%files -n python3-%{srcname} +%files -n python%{python3_pkgversion}-%{srcname} %license COPYING.txt licenses/* %doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt %doc THANKS.txt docs tools/editors