summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-01-09 14:06:31 +0100
committerRemi Collet <fedora@famillecollet.com>2015-01-09 14:06:31 +0100
commit09fb7555500aafdf169ae4404a1d5f26fcf3ad1b (patch)
treed7fbc0e54a487d483029546e11a716d9141c19f6
parenteef8dafe76a439e978be98dd7ba9881dc48ae2d7 (diff)
php-horde-Horde-Stream-Wrapper: 2.1.1
-rw-r--r--php-horde-Horde-Stream-Wrapper.spec21
1 files 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 <remi@fedoraproject.org> - 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 <remi@fedoraproject.org> - 2.1.0-1
- Update to 2.1.0
- Add tests, only run when build --with tests