summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-19 21:02:33 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-19 21:02:33 +0100
commitc81aa66b051ac230659aae2221178d1baf39a59a (patch)
treef601c9dcd603e1ca2186ee689c79f4373e1bf26c
parent4c70cf0aea3382aa5feb9b02b5207bb8e9d526f8 (diff)
php-horde-Horde-Log 2.0.1
-rw-r--r--php-horde-Horde-Log.spec14
1 files changed, 10 insertions, 4 deletions
diff --git a/php-horde-Horde-Log.spec b/php-horde-Horde-Log.spec
index be4f860..cbce600 100644
--- a/php-horde-Horde-Log.spec
+++ b/php-horde-Horde-Log.spec
@@ -7,8 +7,8 @@
%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: php-horde-Horde-Log
-Version: 2.0.0
-Release: 3%{?dist}
+Version: 2.0.1
+Release: 1%{?dist}
Summary: Horde Logging library
Group: Development/Libraries
@@ -22,7 +22,7 @@ BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
%if %{with_tests}
# To run unit tests
-BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.0.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
%endif
Requires(post): %{__pear}
@@ -77,7 +77,10 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%check
%if %{with_tests}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-phpunit -d date.timezone=UTC AllTests.php
+phpunit\
+ -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d date.timezone=UTC \
+ .
%else
: Test disabled, missing '--with tests' option.
%endif
@@ -104,6 +107,9 @@ fi
%changelog
+* Mon Nov 19 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.1-1
+- Update to 2.0.1 for remi repo
+
* Mon Nov 5 2012 Remi Collet <remi@fedoraproject.org> - 2.0.0-3
- requires Horde_Scribe
- make test optional