From 6122d53f6efc42064c60bcf3f3d21e1be9ba9f37 Mon Sep 17 00:00:00 2001 From: Yafen Fang Date: Fri, 12 Sep 2025 18:34:56 +0800 Subject: [PATCH] add opencv data --- opencv.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/opencv.spec b/opencv.spec index c2544dd..92afccd 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,6 +1,6 @@ Name: opencv Version: 4.5.2 -Release: 9 +Release: 10 Summary: OpenCV means IntelĀ® Open Source Computer Vision Library. License: Apache-2.0 URL: https://github.com/opencv/opencv @@ -98,14 +98,22 @@ make install DESTDIR=%{buildroot} %files %defattr(-,root,root) +%dir %{_datadir}/opencv4 +%license %{_licensedir}/opencv4/* %exclude /usr/bin/setup_vars_opencv4.sh %{_bindir}/* %{_libdir}/* %{_includedir}/* -%exclude /usr/share/* %{python3_sitelib}/cv2/* +%{_datadir}/opencv4/haarcascades +%{_datadir}/opencv4/lbpcascades +%{_datadir}/opencv4/valgrind* +%exclude /usr/share/opencv4/testdata %changelog +* Mon Sep 15 2025 Yafen Fang - 4.5.2-10 +- add opencv data + * Wed Nov 22 2023 konglidong - 4.5.2-9 - backport upstraem patch to fix build failed -- Gitee