[packages/php-facebook-sdk] - override include path, so it won't find installed facebook class first

glen glen at pld-linux.org
Fri Dec 7 16:55:53 CET 2012


commit 94f8ddf0990bdf6c221b4804bfce3705fd11f07a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 7 17:55:32 2012 +0200

    - override include path, so it won't find installed facebook class first

 php-facebook-sdk.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/php-facebook-sdk.spec b/php-facebook-sdk.spec
index 67ec836..1d1a8e4 100644
--- a/php-facebook-sdk.spec
+++ b/php-facebook-sdk.spec
@@ -23,7 +23,6 @@ BuildRequires:	php-hash
 BuildRequires:	php-json
 BuildRequires:	php-pecl-xdebug
 BuildRequires:	php-session
-BuildConflicts:	%{name}
 %endif
 Requires:	php(core) >= %{php_min_version}
 Requires:	php(curl)
@@ -52,6 +51,7 @@ cp src/facebook.php src/facebook.nps.php
 phpunit \
 	-d session.save_handler="files" \
 	-d session.save_path="$(pwd)" \
+	-d include_path=".:$(pwd):%{php_pear_dir}" \
 	--colors \
 	--coverage-html coverage \
 	--verbose \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-facebook-sdk.git/commitdiff/94f8ddf0990bdf6c221b4804bfce3705fd11f07a



More information about the pld-cvs-commit mailing list