spec: pythonic provides

Fixes: https://pagure.io/koji/issue/2666
This commit is contained in:
Tomas Kopecek 2021-01-26 15:33:19 +01:00
parent c7aac355be
commit 4a0da9bd01

View file

@ -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