#96 Python spec template: Drop %python_provide
Opened by churchyard. Modified
churchyard/rpmdevtools no_python_provide  into  main

Download 96.patch

See the note at the bottom of
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/#_the_py_provides_macro

Is this actually the case going all the way back to EPEL 7?

On EPEL 7, %python3_pkgversion is 36. Hence this package is called python36-foo and %python_provide python3-foo evals to...

Provides: python36-foo(x86-64) = %{version}-%{release}
Provides: python36-foo = %{version}-%{release}
Obsoletes: python36-foo < %{version}-%{release}

Which does nothing useful.

It could be useful as %python_provide python%{python3_pkgversion}-%{srcname} to provide python3-foo, but that was not the case here.

Metadata