spec: replace hardcoded python3

Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
Frédéric Pierret (fepitre) 2020-08-08 10:43:06 +02:00
parent b922603245
commit be0811901f
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -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