From 9c53e89e62d65b90dc0ee3f550addab659606187 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 6 Jun 2012 23:17:42 +0200 Subject: [PATCH] Finally something that can build Still runtime testing before ABI bump in Rawhide --- opencv.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opencv.spec b/opencv.spec index 633a604..c674512 100644 --- a/opencv.spec +++ b/opencv.spec @@ -160,6 +160,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenCV/doc popd +#Cmake mess +mkdir -p $RPM_BUILD_ROOT%{_libdir}/cmake/OpenCV +mv $RPM_BUILD_ROOT%{_datadir}/OpenCV/*.cmake \ + $RPM_BUILD_ROOT%{_libdir}/cmake/OpenCV + %check # Check fails since we don't support most video