diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-01-09 16:02:33 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-01-09 16:02:33 +0100 |
commit | fe943b12969b6bb8bd9f83cc94abe08c69032b78 (patch) | |
tree | 76599f4c4b9778ac9655b9d7c09d718463c38d51 | |
parent | 54abe2875b237364d722accfe172b131bf8863f6 (diff) |
php-horde-Horde-Url: 2.2.4
-rw-r--r-- | php-horde-Horde-Url.spec | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/php-horde-Horde-Url.spec b/php-horde-Horde-Url.spec index d9909c0..83066b3 100644 --- a/php-horde-Horde-Url.spec +++ b/php-horde-Horde-Url.spec @@ -8,14 +8,17 @@ # Please, preserve the changelog entries # %{!?__pear: %global __pear %{_bindir}/pear} +%global bootstrap 0 %global pear_name Horde_Url %global pear_channel pear.horde.org - -# Can run test because of circular dependency with Horde_Test +%if %{bootstrap} %global with_tests %{?_with_tests:1}%{!?_with_tests:0} +%else +%global with_tests %{?_without_tests:0}%{!?_without_tests:1} +%endif Name: php-horde-Horde-Url -Version: 2.2.3 +Version: 2.2.4 Release: 1%{?dist} Summary: Horde Url class @@ -44,6 +47,7 @@ Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0 Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} +Provides: php-composer(horde/horde-url) = %{version} %description @@ -75,12 +79,8 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} -src=$(pwd)/%{pear_name}-%{version} cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -phpunit \ - --include-path=$src/lib \ - -d date.timezone=UTC \ - . +phpunit . %else : Test disabled, missing '--with tests' option. %endif @@ -106,6 +106,11 @@ fi %changelog +* Fri Jan 09 2015 Remi Collet <remi@fedoraproject.org> - 2.2.4-1 +- Update to 2.2.4 +- add provides php-composer(horde/horde-url) +- enable test suite + * Wed Jun 04 2014 Remi Collet <remi@fedoraproject.org> - 2.2.3-1 - Update to 2.2.3 |