fish.spec: bump Python requirement to 3 on non-RHEL 6/7 platforms.

Work on #6537.
This commit is contained in:
David Adam 2020-02-13 23:18:23 +08:00
parent 35a50d5aff
commit 38d530bc5b

View file

@ -38,7 +38,11 @@ BuildRequires: python3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?rhel} && 0%{?rhel} < 8
Requires: python Requires: python
%else
Requires: python3
%endif
Requires: man Requires: man
%description %description