diff --git a/opencv.spec b/opencv.spec index c2544ddfbe5d5efa52afb88e67e0328f6beb5cde..92afccdbeb4cb2c478aa1e3a38e91b7ac63ca541 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