[php-horde-Horde-Group/el6] Enable tests
Nick Bebout
nb at fedoraproject.org
Wed Mar 27 19:57:18 UTC 2013
commit 7aeea770623ee1ee482269ddff913312b56af6fa
Author: Nick Bebout <nb at fedoraproject.org>
Date: Wed Mar 27 14:57:11 2013 -0500
Enable tests
php-horde-Horde-Group.spec | 21 ++++++++++++---------
1 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/php-horde-Horde-Group.spec b/php-horde-Horde-Group.spec
index 5c9248f..b746029 100644
--- a/php-horde-Horde-Group.spec
+++ b/php-horde-Horde-Group.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Group
Version: 2.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Horde User Groups System
Group: Development/Libraries
@@ -18,8 +18,8 @@ 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_Db) >= 2.0.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
+BuildRequires: php-pear(%{pear_channel}/Horde_Db) >= 2.0.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -69,12 +69,12 @@ 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:_:/:)
-#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:_:/:)
+phpunit\
+ -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d date.timezone=UTC \
+ .
%post
@@ -98,6 +98,9 @@ fi
%changelog
+* Thu Mar 27 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.2-2
+- Enable tests on el6
+
* Wed Mar 20 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.2-1
- Update for review
More information about the scm-commits
mailing list