diff options
-rw-r--r-- | php-horde-Horde-Rdo.spec | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/php-horde-Horde-Rdo.spec b/php-horde-Horde-Rdo.spec index 9587335..c9ec051 100644 --- a/php-horde-Horde-Rdo.spec +++ b/php-horde-Horde-Rdo.spec @@ -4,7 +4,7 @@ %global pear_channel pear.horde.org Name: php-horde-Horde-Rdo -Version: 2.0.0 +Version: 2.0.1 Release: 1%{?dist} Summary: Rampage Data Objects @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-pear(PEAR) BuildRequires: php-channel(%{pear_channel}) -BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0 +BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0 Requires(post): %{__pear} Requires(postun): %{__pear} @@ -65,8 +65,14 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -# test not yet compatible... -# phpunit -d date.timezone=UTC AllTests.php +%if 0%{?rhel} == 5 +: test skipped, issue with sqlite, need investigation +%else +phpunit\ + -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \ + -d date.timezone=UTC \ + . +%endif %post @@ -90,5 +96,8 @@ fi %changelog +* Mon Nov 19 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.1-1 +- Update to 2.0.1 for remi repo + * Sun Nov 18 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-1 - Initial package |