Add Provides to match the Ubuntu convention

There are many Ubuntu users out there. Let's be nice and Provide the
same package name, so that a command typed from memory will also work
here.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-05-13 13:11:06 +00:00 committed by Miro Hrončok
parent 5c3c99eb42
commit ac9a5093cb
1 changed files with 5 additions and 0 deletions

View File

@ -400,6 +400,11 @@ Requires: python3 == %{version}-%{release}
Provides: python = %{version}-%{release}
# This also save us an explicit conflict for older python3 builds
# Also provide the name of the Ubuntu package with the same function,
# to be nice to people who temporarily forgot which distro they're on.
# C.f. https://packages.ubuntu.com/hirsute/all/python-is-python3/filelist
Provides: python-is-python3 = %{version}-%{release}
%description -n python-unversioned-command
This package contains /usr/bin/python - the "python" command that runs Python 3.