summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Group.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-horde-Horde-Group.spec')
-rw-r--r--php-horde-Horde-Group.spec7
1 files 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 \
.