From 0a9bb48eebadbd6b77b964982eba89a9aa4d9462 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Jun 2017 14:37:09 +0200 Subject: fix timezone --- php-phpseclib.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-phpseclib.spec b/php-phpseclib.spec index 2685240..77ddebc 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -9,7 +9,7 @@ Name: php-%{composer_vendor} Version: 2.0.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: PHP Secure Communications Library Group: System Environment/Libraries @@ -73,7 +73,11 @@ cp -pr %{composer_vendor} %{buildroot}%{_datadir}/php %if %{with_tests} %check %{_bindir}/phpab --output tests/bootstrap.php tests -echo 'require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php";' >> tests/bootstrap.php +cat << 'EOF' | tee -a tests/bootstrap.php +require "%{buildroot}%{_datadir}/php/%{composer_vendor}/autoload.php"; +date_default_timezone_set('UTC'); +EOF + ret=0 for cmd in php php70 php71 php72; do @@ -93,6 +97,9 @@ exit $ret %changelog +* Thu Jun 8 2017 Remi Collet - 2.0.6-2 +- define correct timezone for the test suite + * Mon Jun 5 2017 Remi Collet - 2.0.6-1 - Update to 2.0.6 -- cgit