From ac9a5093cb9f534ef2f65cbd1f50684c88b91eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 13 May 2021 13:11:06 +0000 Subject: [PATCH] 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. --- python3.10.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3.10.spec b/python3.10.spec index afdb42a..6ebed67 100644 --- a/python3.10.spec +++ b/python3.10.spec @@ -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.