use %{python3_sitelib} instead of /usr/lib/python3.8/site-packages

This commit is contained in:
dou33 2022-01-27 14:36:11 +08:00
parent 875926e3df
commit 1c3dada267

View File

@ -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 <douyan@kylinos.cn> - 4.5.2-5
- use %{python3_sitelib} instead of /usr/lib/python3.8/site-packages
* Wed Nov 17 2021 shenwei <shenwei41@huawei.com> - 4.5.2-4
- repair Clang ABI