[php-facedetect] Update to 1.0.1

topdog topdog at fedoraproject.org
Tue Jan 11 10:01:40 UTC 2011


commit 10b42d614bf1cf5d87e89da9ab98e0772772cdf6
Author: Andrew Colin Kissa <andrew at topdog.za.net>
Date:   Tue Jan 11 11:52:42 2011 +0200

    Update to 1.0.1

 .gitignore                           |    1 +
 facedetect-dso-link-workaround.patch |    9 ++++-----
 php-facedetect.spec                  |   11 ++++++-----
 sources                              |    2 +-
 4 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8a3de3b..9ba1dad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 facedetect-1.0.0.tar.gz
+/facedetect-1.0.1.tar.gz
diff --git a/facedetect-dso-link-workaround.patch b/facedetect-dso-link-workaround.patch
index b4d155f..6c97dd0 100644
--- a/facedetect-dso-link-workaround.patch
+++ b/facedetect-dso-link-workaround.patch
@@ -1,9 +1,8 @@
-diff -ruN facedetect-1.0.0.orig/config.m4 facedetect-1.0.0/config.m4
---- facedetect-1.0.0.orig/config.m4	2008-06-15 22:26:44.000000000 +0200
-+++ facedetect-1.0.0/config.m4	2010-03-02 10:51:35.241505847 +0200
+--- facedetect/config.m4	2010-03-15 02:07:12.000000000 +0200
++++ facedetect.mods/config.m4	2011-01-11 11:13:44.920018045 +0200
 @@ -28,17 +28,10 @@
-   AC_CHECK_HEADER([opencv/cvver.h], [], AC_MSG_ERROR('opencv/cvver.h' header not found))
-   AC_CHECK_HEADER([opencv/highgui.h], [], AC_MSG_ERROR('opencv/highgui.h' header not found))
+   AC_CHECK_HEADER([$FACEDETECT_DIR/include/opencv/cvver.h], [], AC_MSG_ERROR('opencv/cvver.h' header not found))
+   AC_CHECK_HEADER([$FACEDETECT_DIR/include/opencv/highgui.h], [], AC_MSG_ERROR('opencv/highgui.h' header not found))
  
 -  PHP_CHECK_LIBRARY(cv, cvLoad,
 -  [
diff --git a/php-facedetect.spec b/php-facedetect.spec
index 4b2cebe..d4d091a 100644
--- a/php-facedetect.spec
+++ b/php-facedetect.spec
@@ -2,13 +2,13 @@
 %{!?php_extdir:		%{expand: %%global php_extdir %(php-config --extension-dir)}}
 
 Name:		php-facedetect
-Version:	1.0.0
-Release:	7%{?dist}
+Version:	1.0.1
+Release:	1%{?dist}
 Summary:	PHP extension to access the OpenCV library
 Group:		Development/Languages
 License:	PHP
 URL:		http://www.xarg.org/project/php-facedetect/
-Source0:	http://www.xarg.org/download/facedetect-1.0.0.tar.gz
+Source0:	http://www.xarg.org/download/facedetect-%{version}.tar.gz
 # patch to work around DSOlinkage issues introduced in F-13
 Patch1:		facedetect-dso-link-workaround.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -32,7 +32,7 @@ of their coordinates.
 
 
 %prep
-%setup -q -n facedetect-%{version}
+%setup -q -n facedetect
 %patch1 -p1
 %{__cat} <<'EOF' >facedetect.ini
 extension=facedetect.so
@@ -62,7 +62,8 @@ rm -rf $RPM_BUILD_ROOT
 %{php_extdir}/facedetect.so
 
 %changelog
-* Mon Jan 10 2011 Andrew Colin Kissa <andrew at topdog.za.net> - 1.0.0-7
+* Mon Jan 10 2011 Andrew Colin Kissa <andrew at topdog.za.net> - 1.0.1-1
+- Bump up to latest upstream
 - Rebuild with new opencv
 
 * Wed Jun 30 2010 Andrew Colin Kissa <andrew at topdog.za.net> - 1.0.0-6
diff --git a/sources b/sources
index bdf54c0..877f613 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1f05e6eafd930babad7b4c0b4786433c  facedetect-1.0.0.tar.gz
+7b566742020e54bc5938d766f698001a  facedetect-1.0.1.tar.gz


More information about the scm-commits mailing list