summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Kolab-Session.spec
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
commita822c20d0f402d3b5f9fa4795af8c3da834864bf (patch)
treede3a92b3d5e6e229d0da2c3b63d77cae712f177a /php-horde-Horde-Kolab-Session.spec
parent57c45e95ebb1374abff1c5939ded45e7223b99a7 (diff)
horde: fix FTBFS (include path) + cleanups
Diffstat (limited to 'php-horde-Horde-Kolab-Session.spec')
-rw-r--r--php-horde-Horde-Kolab-Session.spec12
1 files changed, 5 insertions, 7 deletions
diff --git a/php-horde-Horde-Kolab-Session.spec b/php-horde-Horde-Kolab-Session.spec
index 5105cb3..37dba01 100644
--- a/php-horde-Horde-Kolab-Session.spec
+++ b/php-horde-Horde-Kolab-Session.spec
@@ -6,7 +6,6 @@
#
# Please, preserve the changelog entries
#
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_Kolab_Session
%global pear_channel pear.horde.org
@@ -38,14 +37,13 @@ Requires: php(language) >= 5.3.0
Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0
# Optional
Requires: php-pear(%{pear_channel}/Horde_Imap_Client) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Imap_Client) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Imap_Client) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Kolab_Server) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Kolab_Server) >= 3.0.0
-Requires: php-pear(%{pear_channel}/Horde_Log) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Log) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Kolab_Server) < 3.0.0
+# Optional and implicitly required: Horde_Log
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
@@ -81,7 +79,7 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
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 \
.