[php-phpunit-PHPUnit] update to 4.4.1

Remi Collet remi at fedoraproject.org
Sun Dec 28 08:36:36 UTC 2014


commit 54071849e0f78f5996d8dfdb26cb2fc0804532fd
Author: Remi Collet <remi at fedoraproject.org>
Date:   Sun Dec 28 09:36:33 2014 +0100

    update to 4.4.1

 .gitignore               |    1 +
 php-phpunit-PHPUnit.spec |    7 +++++--
 phpunit-rpm.patch        |   17 +++++++++--------
 sources                  |    2 +-
 4 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dcb20c0..82035db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,3 +47,4 @@ clog
 /phpunit-4.3.4.tar.gz
 /phpunit-4.3.5.tar.gz
 /phpunit-4.4.0.tar.gz
+/phpunit-4.4.1.tar.gz
diff --git a/php-phpunit-PHPUnit.spec b/php-phpunit-PHPUnit.spec
index aeebf25..6c5fac1 100644
--- a/php-phpunit-PHPUnit.spec
+++ b/php-phpunit-PHPUnit.spec
@@ -8,7 +8,7 @@
 #
 # Please, preserve the changelog entries
 #
-%global gh_commit    bbe7bcb83b6ec1a9eaabbe1b70d4795027c53ee0
+%global gh_commit    6a5e49a86ce5e33b8d0657abe145057fc513543a
 %global gh_short     %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner     sebastianbergmann
 %global gh_project   phpunit
@@ -17,7 +17,7 @@
 %global pear_channel pear.phpunit.de
 
 Name:           php-phpunit-PHPUnit
-Version:        4.4.0
+Version:        4.4.1
 Release:        1%{?dist}
 Summary:        The PHP Unit Testing framework
 
@@ -193,6 +193,9 @@ fi
 
 
 %changelog
+* Sun Dec 28 2014 Remi Collet <remi at fedoraproject.org> - 4.4.1-1
+- Update to 4.4.1
+
 * Fri Dec  5 2014 Remi Collet <remi at fedoraproject.org> - 4.4.0-1
 - Update to 4.4.0
 - add dependency on sebastian/global-state
diff --git a/phpunit-rpm.patch b/phpunit-rpm.patch
index ea37f78..f1a1173 100644
--- a/phpunit-rpm.patch
+++ b/phpunit-rpm.patch
@@ -1,6 +1,6 @@
 diff -up ./phpunit.rpm ./phpunit
---- ./phpunit.rpm	2014-12-05 07:49:03.000000000 +0100
-+++ ./phpunit	2014-12-05 09:19:29.774284886 +0100
+--- ./phpunit.rpm	2014-12-28 08:57:05.000000000 +0100
++++ ./phpunit	2014-12-28 09:30:07.294714996 +0100
 @@ -1,4 +1,4 @@
 -#!/usr/bin/env php
 +#!/usr/bin/php
@@ -8,7 +8,7 @@ diff -up ./phpunit.rpm ./phpunit
  /* PHPUnit
   *
 @@ -39,24 +39,7 @@ if (!ini_get('date.timezone')) {
-      ini_set('date.timezone', 'UTC');
+     ini_set('date.timezone', 'UTC');
  }
  
 -foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
@@ -34,15 +34,16 @@ diff -up ./phpunit.rpm ./phpunit
  
  PHPUnit_TextUI_Command::main();
 diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
---- ./tests/bootstrap.php.rpm	2014-12-05 07:49:03.000000000 +0100
-+++ ./tests/bootstrap.php	2014-12-05 09:18:19.614014475 +0100
-@@ -1,5 +1,8 @@
+--- ./tests/bootstrap.php.rpm	2014-12-28 09:28:16.402309771 +0100
++++ ./tests/bootstrap.php	2014-12-28 09:28:45.638416606 +0100
+@@ -1,6 +1,9 @@
  <?php
+ // Needed for isolated tests
 -require __DIR__ . '/../vendor/autoload.php';
 +require __DIR__ . '/../src/Framework/Assert/Functions.php';
 +require __DIR__ . '/_files/CoveredFunction.php';
 +require __DIR__ . '/../src/Autoload.php';
 +require __DIR__ . '/autoload.php';
  
- if (!ini_get('date.timezone') && !defined('HHVM_VERSION')) {
-     echo PHP_EOL . 'Error: PHPUnit\'s test suite requires the "date.timezone" runtime configuration to be set. Please check your php.ini.' . PHP_EOL;
+ ini_set('precision', 14);
+ ini_set('serialize_precision', 14);
diff --git a/sources b/sources
index 401b802..ded64fb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-044549cfa31bcd17e423d2973a97c5fe  phpunit-4.4.0.tar.gz
+ec3338cf7105651a7cc3a336b591b7d6  phpunit-4.4.1.tar.gz


More information about the scm-commits mailing list