From d820646c6c94498d25a3a3d748f5f055cf707d8a Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 02 2021 13:04:49 +0000 Subject: PR#2667: spec: pythonic provides Merges #2667 https://pagure.io/koji/pull-request/2667 Fixes: #2666 https://pagure.io/koji/issue/2666 pythonic provides in spec --- diff --git a/koji.spec b/koji.spec index e77fe33..ec6b6e7 100644 --- a/koji.spec +++ b/koji.spec @@ -147,6 +147,9 @@ Requires: python%{python3_pkgversion}-requests-kerberos %endif Requires: python%{python3_pkgversion}-dateutil Requires: python%{python3_pkgversion}-six +# Since we don't have metadata here, provide the 'normal' python provides manually. +Provides: python%{python3_version}dist(%{name}) = %{version} +Provides: python%{python3_pkgversion}dist(%{name}) = %{version} %description -n python%{python3_pkgversion}-%{name} desc