[opencv] applying opencv-pkgcmake.patch in spec

Honza Horak hhorak at fedoraproject.org
Tue Jul 10 08:22:46 UTC 2012


commit 969da19ff322c3d20cdbb3d361a912f84999da56
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Jul 9 11:56:35 2012 +0200

    applying opencv-pkgcmake.patch in spec

 opencv.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/opencv.spec b/opencv.spec
index c674512..b5a407c 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -5,7 +5,7 @@
 
 Name:           opencv
 Version:        2.4.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Collection of algorithms for computer vision
 
 Group:          Development/Libraries
@@ -14,6 +14,7 @@ License:        BSD
 URL:            http://opencv.willowgarage.com/wiki/
 Source0:        http://prdownloads.sourceforge.net/opencvlibrary/%{tar_name}-%{version}%{?indice}.tar.bz2
 Source1:        opencv-samples-Makefile
+Patch0:         opencv-pkgcmake.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libtool
@@ -95,6 +96,7 @@ This package contains Python bindings for the OpenCV library.
 
 %prep
 %setup -q -n %{tar_name}-%{version}
+%patch0 -p1 -b .pkgcmake
 
 # fix dos end of lines
 sed -i 's|\r||g'  samples/c/adaptiveskindetector.cpp
@@ -220,6 +222,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jun 29 2012 Honza Horak <hhorak at redhat.com> - 2.4.1-2
+- Fixed cmake script for generating opencv.pc file
+- Fixed OpenCVConfig script file
+
 * Mon Jun 04 2012 Nicolas Chauvet <kwizart at gmail.com> - 2.4.1-1
 - Update to 2.4.1
 - Rework dependencies - rhbz#828087


More information about the scm-commits mailing list