[php-horde-Horde-Controller/el6] Enable tests
Nick Bebout
nb at fedoraproject.org
Wed Mar 27 19:55:43 UTC 2013
commit 99ad9c57bb69d99b7ddacc3c46f81f4948a8941a
Author: Nick Bebout <nb at fedoraproject.org>
Date: Wed Mar 27 14:55:37 2013 -0500
Enable tests
php-horde-Horde-Controller.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/php-horde-Horde-Controller.spec b/php-horde-Horde-Controller.spec
index 2bc53e7..c9e87c2 100644
--- a/php-horde-Horde-Controller.spec
+++ b/php-horde-Horde-Controller.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Controller
Version: 2.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Horde Controller libraries
Group: Development/Libraries
@@ -18,7 +18,7 @@ BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-common >= 5.3.0
BuildRequires: php-channel(%{pear_channel})
# To run unit tests
-#BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -68,12 +68,12 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-#%check
-#cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
-#phpunit\
-# -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
-# -d date.timezone=UTC \
-# .
+%check
+cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
+phpunit\
+ -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d date.timezone=UTC \
+ .
%post
@@ -97,6 +97,9 @@ fi
%changelog
+* Thu Mar 27 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.1-4
+- Enable tests for el6
+
* Wed Mar 20 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.1-3
- Update for review
More information about the scm-commits
mailing list