summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Vfs.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-17 11:13:25 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-17 11:13:25 +0100
commit4d1ea0ff0cde2e7d60efaf3189603b17d44e87d5 (patch)
treec7712ec5472824a3f3a354cbcdf8c3483c50aeb3 /php-horde-Horde-Vfs.spec
parent6f8faa0b6c6bc6890fca3974698611e6b0f76ddf (diff)
php-horde-Horde-Vfs: fix Horde_Test requirement
Diffstat (limited to 'php-horde-Horde-Vfs.spec')
-rw-r--r--php-horde-Horde-Vfs.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-horde-Horde-Vfs.spec b/php-horde-Horde-Vfs.spec
index 897d3eb..3e17eab 100644
--- a/php-horde-Horde-Vfs.spec
+++ b/php-horde-Horde-Vfs.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Vfs
Version: 2.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Virtual File System API
Group: Development/Libraries
@@ -21,7 +21,7 @@ BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
# To run unit tests
-BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
BuildRequires: php-pear(%{pear_channel}/Horde_Db) >= 2.0.0
Requires(post): %{__pear}
@@ -105,9 +105,12 @@ sh %{SOURCE1} %{buildroot} %{pear_name}
%check
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
# Need investigation
-# rm -f FileTest.php
-# http://bugs.horde.org/ticket/11710
-# phpunit -d date.timezone=UTC .
+rm -f FileTest.php
+
+phpunit \
+ -d date.timezone=UTC \
+ -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ .
%post
@@ -138,6 +141,9 @@ fi
%changelog
+* Sat Nov 17 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.2-2
+- enable test
+
* Thu Nov 15 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.2-1
- Update to 2.0.2 for remi repo
- disable test are a newer Horde_Test is required