From 5475f68ed2ba563427bdcf058d447e3cd27e99b8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 28 Oct 2013 18:14:08 +0100 Subject: php-solarium: simpler way --- php-solarium.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/php-solarium.spec b/php-solarium.spec index 1761977..15ad3ca 100644 --- a/php-solarium.spec +++ b/php-solarium.spec @@ -27,7 +27,6 @@ BuildArch: noarch %if %{with_tests} # For tests BuildRequires: php(language) >= 5.3.2 -BuildRequires: php-cli BuildRequires: php-pear(pear.phpunit.de/PHPUnit) BuildRequires: php-pear(pear.symfony.com/EventDispatcher) > 2.1 %endif @@ -91,11 +90,12 @@ cp -pr library/Solarium %{buildroot}%{_datadir}/php/Solarium %check %if %{with_tests} +: Run upstream test suite against installed library phpunit \ - -d include_path=%{buildroot}%{_datadir}/php:./tests:$(php -r 'echo ini_get("include_path");') \ + --include-path=%{buildroot}%{_datadir}/php:./tests \ -d date.timezone=UTC %else -: Skip test suite +: Skip upstream test suite %endif -- cgit