From 6e473cb5112c7ac25870e393b2afd7958e108da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 14 Sep 2019 16:51:06 +0100 Subject: [PATCH] Fix cmake files location, apply patch0 and add data/opencv4/quality files into package --- opencv.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/opencv.spec b/opencv.spec index 11a0d65..f0d6694 100644 --- a/opencv.spec +++ b/opencv.spec @@ -251,6 +251,8 @@ rm -r 3rdparty/ mkdir 3rdparty/ mv quirc/ 3rdparty/ +%patch0 -p1 -b .install_3rdparty_licenses + pushd %{name}_contrib-%{version} popd @@ -362,6 +364,7 @@ popd %{_datadir}/opencv4/haarcascades %{_datadir}/opencv4/lbpcascades %{_datadir}/opencv4/valgrind* +%{_datadir}/opencv4/quality %files core %license LICENSE @@ -392,7 +395,7 @@ popd %{_includedir}/opencv4/opencv2 %{_libdir}/lib*.so %{_libdir}/pkgconfig/opencv.pc -%{_libdir}/cmake/opencv4/*.cmake +%{_libdir}/cmake/OpenCV/*.cmake %files doc %{_datadir}/opencv4/samples