From 9f6cd04bac2d3baa8f98a1582a9657f46f897513 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 8 Jun 2014 09:49:19 +0200 Subject: horde: fix FTBFS (include path) + cleanups --- php-horde-Horde-Group.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/php-horde-Horde-Group.spec b/php-horde-Horde-Group.spec index df03c04..a01a2d2 100644 --- a/php-horde-Horde-Group.spec +++ b/php-horde-Horde-Group.spec @@ -79,9 +79,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check -cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:) -phpunit\ - -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \ +src=$(pwd)/%{pear_name}-%{version} +cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) +phpunit \ + --include-path=$src/lib \ -d date.timezone=UTC \ . -- cgit