From fe943b12969b6bb8bd9f83cc94abe08c69032b78 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Jan 2015 16:02:33 +0100 Subject: php-horde-Horde-Url: 2.2.4 --- php-horde-Horde-Url.spec | 21 +++++++++++++-------- 1 file 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 - 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 - 2.2.3-1 - Update to 2.2.3 -- cgit