From 09fb7555500aafdf169ae4404a1d5f26fcf3ad1b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 9 Jan 2015 14:06:31 +0100 Subject: php-horde-Horde-Stream-Wrapper: 2.1.1 --- php-horde-Horde-Stream-Wrapper.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/php-horde-Horde-Stream-Wrapper.spec b/php-horde-Horde-Stream-Wrapper.spec index 1d93af8..0a1d2dd 100644 --- a/php-horde-Horde-Stream-Wrapper.spec +++ b/php-horde-Horde-Stream-Wrapper.spec @@ -8,13 +8,18 @@ # Please, preserve the changelog entries # %{!?__pear: %global __pear %{_bindir}/pear} +%global bootstrap 0 %global pear_name Horde_Stream_Wrapper %global pear_channel pear.horde.org -# Disable 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-Stream-Wrapper -Version: 2.1.0 +Version: 2.1.1 Release: 1%{?dist} Summary: Horde Stream wrappers @@ -41,6 +46,7 @@ Requires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} +Provides: php-composer(horde/horde-stream-wrapper) = %{version} %description @@ -72,12 +78,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 \ - -d include_path=$src/lib:.:%{pear_phpdir} \ - -d date.timezone=UTC \ - . +phpunit . %else : Tests disabled, use --with tests to enable them %endif @@ -103,6 +105,11 @@ fi %changelog +* Fri Jan 09 2015 Remi Collet - 2.1.1-1 +- Update to 2.1.1 +- add provides php-composer(horde/horde-stream-wrapper) +- enable test suite + * Tue Feb 11 2014 Remi Collet - 2.1.0-1 - Update to 2.1.0 - Add tests, only run when build --with tests -- cgit