From 6a255cea1a6bd2f17ed301736d44c6a101b9a480 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Thu, 22 Mar 2007 05:30:02 +0000 Subject: [PATCH] - Fix %{_datadir}/opencv/samples ownership. - Adjust timestamp of cvconfig.h.in to avoid re-running autoheader. --- opencv.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/opencv.spec b/opencv.spec index 4b92664..0891e0a 100644 --- a/opencv.spec +++ b/opencv.spec @@ -5,7 +5,7 @@ Name: opencv Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Collection of algorithms for computer vision Group: Development/Libraries @@ -61,8 +61,8 @@ This package contains Python bindings for the OpenCV library. samples/python/*.py %{__sed} -i 's/^#!.*//' interfaces/swig/python/adaptors.py \ interfaces/swig/python/__init__.py - -find -name Makefile.in | xargs touch +# Adjust timestamp on cvconfig.h.in +touch -r configure.in cvconfig.h.in %build %configure --disable-static --enable-python --enable-apps @@ -116,16 +116,21 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/lib*.a %{_libdir}/pkgconfig/opencv.pc %doc %{_datadir}/opencv/doc +%doc %dir %{_datadir}/opencv/samples %doc %{_datadir}/opencv/samples/c %files python %{pyexecdir}/opencv - +%doc %dir %{_datadir}/opencv/samples %doc %{_datadir}/opencv/samples/python %changelog +* Thu Mar 22 2007 Ralf Corsépius - 1.0.0-3 +- Fix %%{_datadir}/opencv/samples ownership. +- Adjust timestamp of cvconfig.h.in to avoid re-running autoheader. + * Thu Mar 22 2007 Ralf Corsépius - 1.0.0-2 - Move all of the python module to pyexecdir (BZ 233128). - Activate the testsuite.