summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-06-08 09:49:19 +0200
committerRemi Collet <fedora@famillecollet.com>2014-06-08 09:49:19 +0200
commit9f6cd04bac2d3baa8f98a1582a9657f46f897513 (patch)
tree5ef7d17bf781f5a1baba42c7be20df180918adad
parent133d86a3d40c70599a2a60818884ec4c31100456 (diff)
horde: fix FTBFS (include path) + cleanups
-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 \
.