[php-symfony2-Validator] Temporarily disable tests on EL

Shawn Iwinski siwinski at fedoraproject.org
Wed Oct 31 03:05:16 UTC 2012


commit 810302eb47b88f667390ab2ef9c21dc9438275b9
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Tue Oct 30 23:05:13 2012 -0400

    Temporarily disable tests on EL

 php-symfony2-Validator.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/php-symfony2-Validator.spec b/php-symfony2-Validator.spec
index 13af947..483efd1 100644
--- a/php-symfony2-Validator.spec
+++ b/php-symfony2-Validator.spec
@@ -7,7 +7,7 @@
 
 Name:             php-symfony2-Validator
 Version:          2.1.2
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          Symfony2 %{pear_name} Component
 
 Group:            Development/Libraries
@@ -112,8 +112,12 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
-cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
-%{_bindir}/phpunit
+%if 0%{?rhel}
+: Tests temporarily disabled on EL
+%else
+    cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
+    %{_bindir}/phpunit
+%endif
 
 
 %post
@@ -136,6 +140,9 @@ fi
 
 
 %changelog
+* Tue Oct 30 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1.2-3
+- Temporarily disable tests on EL
+
 * Mon Oct 29 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.1.2-2
 - Added "%%global pear_metadir" and usage in %%install
 - Changed RPM_BUILD_ROOT to %%{buildroot}


More information about the scm-commits mailing list