spec: replace hardcoded python3
Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
This commit is contained in:
parent
b922603245
commit
be0811901f
@ -12,8 +12,8 @@ Source0: https://sourceforge.net/projects/%{srcname}/files/%{srcname}/%{v
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
The Docutils project specifies a plaintext markup language, reStructuredText,
|
The Docutils project specifies a plaintext markup language, reStructuredText,
|
||||||
@ -29,10 +29,10 @@ Python inline documentation modules and packages.}
|
|||||||
%description %_description
|
%description %_description
|
||||||
|
|
||||||
|
|
||||||
%package -n python3-%{srcname}
|
%package -n python%{python3_pkgversion}-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
|
|
||||||
%description -n python3-%{srcname} %_description
|
%description -n python%{python3_pkgversion}-%{srcname} %_description
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -73,7 +73,7 @@ mv biohazard.swf docs/user/rst/images/biohazard.swf
|
|||||||
rm 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/*
|
%license COPYING.txt licenses/*
|
||||||
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
||||||
%doc THANKS.txt docs tools/editors
|
%doc THANKS.txt docs tools/editors
|
||||||
|
Loading…
Reference in New Issue
Block a user