From 20d76c0665485ea8d1a916c3ae1e74b561f0691c Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet <kwizart@gmail.com> Date: Mon, 10 Oct 2011 20:17:29 +0200 Subject: [PATCH] Update to 2.3.1a --- .gitignore | 1 + opencv.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9846725..82c3e7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ OpenCV-2.1.0.tar.bz2 /OpenCV-2.2.0.tar.bz2 /OpenCV-2.3.1.tar.bz2 +/OpenCV-2.3.1a.tar.bz2 diff --git a/opencv.spec b/opencv.spec index 9aee2e8..55f6165 100644 --- a/opencv.spec +++ b/opencv.spec @@ -1,17 +1,18 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %global tar_name OpenCV +%global indice a Name: opencv Version: 2.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection of algorithms for computer vision Group: Development/Libraries # This is normal three clause BSD. License: BSD URL: http://opencv.willowgarage.com/wiki/ -Source0: http://prdownloads.sourceforge.net/opencvlibrary/%{tar_name}-%{version}.tar.bz2 +Source0: http://prdownloads.sourceforge.net/opencvlibrary/%{tar_name}-%{version}%{?indice}.tar.bz2 Source1: opencv-samples-Makefile Patch0: OpenCV-2.3.1-numpy.patch Patch1: OpenCV-2.3.1-opencvconfig.patch @@ -98,7 +99,7 @@ This package contains Python bindings for the OpenCV library. %patch1 -p1 -b .opencvconfig # fix dos end of lines -sed -i 's|\r||g' samples/c/adaptiveskindetector.cpp +#sed -i 's|\r||g' samples/c/adaptiveskindetector.cpp %build @@ -214,6 +215,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Oct 10 2011 Nicolas Chauvet <kwizart@gmail.com> - 2.3.1-3 +- Update to 2.3.1a + * Mon Sep 26 2011 Dan HorĂ¡k <dan[at]danny.cz> - 2.3.1-2 - openni is exclusive for x86/x86_64 diff --git a/sources b/sources index 4126d1d..e583293 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -827c9f8aa14384c531c73aa165f9b777 OpenCV-2.3.1.tar.bz2 +82e4b6bfa349777233eea09b075e931e OpenCV-2.3.1a.tar.bz2