[php-bartlett-PHP-CompatInfo] drop XslTest in EL-6

Remi Collet remi at fedoraproject.org
Sun Jul 8 07:38:09 UTC 2012


commit 0ed91cf965f5ea596d7df2e197c0efaac04494a5
Author: remi <fedora at famillecollet.com>
Date:   Sun Jul 8 09:32:15 2012 +0200

    drop XslTest in EL-6

 php-bartlett-PHP-CompatInfo.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 8f39104..21639a0 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -14,7 +14,7 @@
 
 Name:           php-bartlett-PHP-CompatInfo
 Version:        2.5.0
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        Find out version and the extensions required for a piece of code to run
 
 Group:          Development/Libraries
@@ -125,6 +125,13 @@ sed -e '/reference=/s/PHP5/ALL/' \
 %check
 cd %{pear_name}-%{version}%{?prever}
 
+%if 0%{?rhel} == 6
+# php-5.3.3-CVE-2012-0057.patch add new constants from php 5.3.9
+# so drop this test which fails with
+# Constant 'XSL_SECPREF_CREATE_DIRECTORY', found in Reference (5.3.9,), exists.
+rm -f tests/Reference/XslTest.php
+%endif
+
 # Test:  621, Assertions: 8965, Skipped: 7, when most extensions installed
 # OK, but incomplete or skipped tests!
 # Tests: 441, Assertions: 5720, Skipped: 222, in mock
@@ -167,6 +174,9 @@ fi
 
 
 %changelog
+* Sun Jul  8 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-1.1
+- drop XslTest in EL-6
+
 * Fri Jun 22 2012 Remi Collet <remi at fedoraproject.org> - 2.5.0-1
 - Version 2.5.0 (stable) - API 2.5.0 (stable)
 - use reference="ALL" in provided config


More information about the scm-commits mailing list