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
commit4d1cf036a18f1915d415a4d8f678684c5bd44d22 (patch)
treebf67648a77f401f0934db7fc17ff8ef67e93b4cb
parent1d2169035d753d3952093c943724474df878a25b (diff)
horde: fix FTBFS (include path) + cleanups
-rw-r--r--php-horde-Horde-Stream.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-horde-Horde-Stream.spec b/php-horde-Horde-Stream.spec
index fc26805..8e087f2 100644
--- a/php-horde-Horde-Stream.spec
+++ b/php-horde-Horde-Stream.spec
@@ -77,9 +77,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
+src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
phpunit\
- -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ --include-path=$src/lib \
-d date.timezone=UTC \
.