From bceb48cb6479006e7fe5743d1e5d9847999f5451 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 28 Jul 2020 08:15:32 +0200 Subject: [PATCH] Switch to cmake_build,install --- opencv.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opencv.spec b/opencv.spec index dcea783..f320c16 100644 --- a/opencv.spec +++ b/opencv.spec @@ -340,14 +340,14 @@ pushd build %{?with_vulkan: -DWITH_VULKAN=ON -DVULKAN_INCLUDE_DIRS=%{_includedir}/vulkan } \ .. -%make_build VERBOSE=1 +%cmake_build popd %install -%make_install -C build -find %{buildroot} -name '*.la' -delete +%cmake_install + rm -rf %{buildroot}%{_datadir}/OpenCV/licenses/ %if %{with java} ln -s -r %{buildroot}%{_jnidir}/libopencv_java%{javaver}.so %{buildroot}%{_jnidir}/libopencv_java.so