From cf6fda78571e77df82da79c0ea4b9e67883d893f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 13 May 2021 14:25:41 +0200 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.9.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python3.9.spec b/python3.9.spec index 0adcbe9..d1a21c1 100644 --- a/python3.9.spec +++ b/python3.9.spec @@ -489,6 +489,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.