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
commit0ec5d381264d2fab6beb3e849867e314613b4f36 (patch)
tree7e3a64607081f0928e3a352b8bac19028dd086c8
parent756a8227bed19fad9d5cf4f273a84e23a4e0e03a (diff)
horde: fix FTBFS (include path) + cleanups
-rw-r--r--php-horde-Horde-Perms.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-horde-Horde-Perms.spec b/php-horde-Horde-Perms.spec
index eb01194..968942f 100644
--- a/php-horde-Horde-Perms.spec
+++ b/php-horde-Horde-Perms.spec
@@ -1,4 +1,13 @@
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+# spec file for php-horde-Horde-Perms
+#
+# Copyright (c) 2012-2014 Nick Bebout, Remi Collet
+#
+# License: MIT
+# https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense
+#
+# Please, preserve the changelog entries
+#
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_Perms
%global pear_channel pear.horde.org
@@ -94,7 +103,7 @@ done | tee ../%{pear_name}.lang
src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
phpunit \
- -d include_path=$src/lib:.:%{pear_phpdir} \
+ --include-path=$src/lib \
-d date.timezone=UTC \
.