[packages/php-facedetect] workaround for brain dead opencv packaging

glen glen at pld-linux.org
Fri Jun 7 16:12:19 CEST 2013


commit 8e046895b650f78fb70f7d2862bae8ca3e3a33a7
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jun 7 17:10:30 2013 +0300

    workaround for brain dead opencv packaging
    
    mentioned in #6, #3 and #2

 php-facedetect.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-facedetect.spec b/php-facedetect.spec
index 91c4a83..13d26ea 100644
--- a/php-facedetect.spec
+++ b/php-facedetect.spec
@@ -7,7 +7,7 @@
 Summary:	PHP Facedetect Extension
 Name:		%{php_name}-%{modname}
 Version:	1.1
-Release:	0.1
+Release:	1
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	https://github.com/infusion/PHP-Facedetect/tarball/master/%{modname}.tar.gz
@@ -32,6 +32,7 @@ coordinates.
 mv infusion-PHP-Facedetect-4b1dfe1/* .
 
 %build
+export LIBS=%{_libdir}/libopencv_*.so.*
 phpize
 %configure
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-facedetect.git/commitdiff/8e046895b650f78fb70f7d2862bae8ca3e3a33a7



More information about the pld-cvs-commit mailing list