99be2c5
@@ -23,7 +23,6 @@
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
- %{?python_provide:%python_provide python3-%{srcname}}
%if %{undefined python_enable_dependency_generator} && %{undefined python_disable_dependency_generator}
# Put manual requires here:
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...
%python_provide python3-foo
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.
%python_provide python%{python3_pkgversion}-%{srcname}
See the note at the bottom of
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python_201x/#_the_py_provides_macro