From e69dcea0e01405178808be8de45c4d6fb08df6ba Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Feb 2015 15:27:46 +0100 Subject: php-phpspec-prophecy: fix include path during for tests --- php-phpspec-prophecy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-phpspec-prophecy.spec b/php-phpspec-prophecy.spec index ee56e77..bb5df6e 100644 --- a/php-phpspec-prophecy.spec +++ b/php-phpspec-prophecy.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global bootstrap 1 +%global bootstrap 1 %global gh_commit 9ca52329bcdd1500de24427542577ebf3fc2f1c9 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner phpspec @@ -83,7 +83,10 @@ cp -pr src/* %{buildroot}%{_datadir}/php %check %if %{with_tests} -%{_bindir}/phpspec run --format pretty --verbose --no-ansi +%{_bindir}/php \ + -d include_path=.:%{buildroot}%{_datadir}/php:/usr/share/php \ + %{_bindir}/phpspec \ + run --format pretty --verbose --no-ansi %else : Test suite disabled %endif -- cgit