diff --git a/opencv.spec b/opencv.spec index 8913e70..50441ba 100644 --- a/opencv.spec +++ b/opencv.spec @@ -38,8 +38,6 @@ %define _lto_cflags %{nil} -%global srcname opencv - # If _cuda_version is unset %if 0%{!?_cuda_version:1} && 0%{?with_cuda:1} %global _cuda_version 11.2 @@ -212,7 +210,7 @@ This package contains the OpenCV documentation, samples and examples programs. Summary: Python3 bindings for apps which use OpenCV Requires: opencv%{_isa} = %{version}-%{release} Requires: python3-numpy -%{?python_provide:%python_provide python3-%{srcname}} +%{?%py_provides:%py_provides python3-%{name}} %description -n python3-opencv This package contains Python3 bindings for the OpenCV library.