summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpspec.spec14
1 files changed, 12 insertions, 2 deletions
diff --git a/php-phpspec.spec b/php-phpspec.spec
index 2318bd7..ef81e9a 100644
--- a/php-phpspec.spec
+++ b/php-phpspec.spec
@@ -25,7 +25,7 @@
Name: php-phpspec
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Specification-oriented BDD framework for PHP
Group: Development/Libraries
@@ -150,13 +150,15 @@ install -Dpm755 bin/phpspec %{buildroot}%{_bindir}/phpspec
%check
%if %{with_tests}
-export LANG=en_GB.utf8
+export LANG=C.UTF-8
# Ignore this test which use bossa/phpspec2-expect
rm spec/PhpSpec/Message/CurrentExampleTrackerSpec.php
# Ignore this test which rely on composer installation
rm spec/PhpSpec/NamespaceProvider/ComposerPsrNamespaceProviderSpec.php
+sed -e 's/4209531264/PHP_INT_MAX/' -i spec/PhpSpec/Matcher/ScalarMatcherSpec.php
+
for cmd in php php71 php72 php73; do
if which $cmd; then
$cmd -d memory_limit=1G -d include_path=.:%{buildroot}%{_datadir}/php \
@@ -181,6 +183,14 @@ done
%changelog
+* Tue Nov 20 2018 Remi Collet <remi@remirepo.net> - 5.1.0-2
+- ignore failed test on 32-bit arch FTBFS #1651396
+ reported as https://github.com/phpspec/phpspec/issues/1234
+
+* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.1.0-2
+- Use C.UTF-8 locale
+ See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
+
* Mon Oct 29 2018 Remi Collet <remi@remirepo.net> - 5.1.0-1
- update to 5.1.0