From 1c3dada2672f0d173abf016a4e265dc35e505cfb Mon Sep 17 00:00:00 2001 From: dou33 Date: Thu, 27 Jan 2022 14:36:11 +0800 Subject: [PATCH] use %{python3_sitelib} instead of /usr/lib/python3.8/site-packages --- opencv.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/opencv.spec b/opencv.spec index 5569258..35f7f98 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,6 +1,6 @@ Name: opencv Version: 4.5.2 -Release: 4 +Release: 5 Summary: OpenCV means IntelĀ® Open Source Computer Vision Library. License: Apache-2.0 URL: https://github.com/opencv/opencv @@ -84,9 +84,12 @@ make install DESTDIR=%{buildroot} %{_libdir}/* %{_includedir}/* %exclude /usr/share/* -/usr/lib/python3.8/site-packages/cv2/* +%{python3_sitelib}/cv2/* %changelog +* Thu Jan 27 2022 douyan - 4.5.2-5 +- use %{python3_sitelib} instead of /usr/lib/python3.8/site-packages + * Wed Nov 17 2021 shenwei - 4.5.2-4 - repair Clang ABI -- Gitee