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
commit149c06bc1cb4e1b7db3aca225b202c7f46aeae76 (patch)
tree962f1ee45022c360c6a039ac33bd639905f4c762
parentf67b358333420062d4e0471d96f215d8eb9c6eda (diff)
horde: fix FTBFS (include path) + cleanups
-rw-r--r--php-horde-Horde-SpellChecker.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/php-horde-Horde-SpellChecker.spec b/php-horde-Horde-SpellChecker.spec
index 2ae1841..f40626a 100644
--- a/php-horde-Horde-SpellChecker.spec
+++ b/php-horde-Horde-SpellChecker.spec
@@ -6,8 +6,7 @@
#
# Please, preserve the changelog entries
#
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_SpellChecker
%global pear_channel pear.horde.org
@@ -76,10 +75,11 @@ 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 \
+ --include-path=$src/lib \
-d date.timezone=UTC \
- -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
.