[php-react-promise] Updated to 2.2.0 (BZ #1178411)

Shawn Iwinski siwinski at fedoraproject.org
Sun Jan 4 06:17:32 UTC 2015


commit 8ca8d2aa103926ef313dd7fa51125b5a323b9825
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Sun Jan 4 01:17:28 2015 -0500

    Updated to 2.2.0 (BZ #1178411)

 php-react-promise.spec |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/php-react-promise.spec b/php-react-promise.spec
index 8b328c7..897445c 100644
--- a/php-react-promise.spec
+++ b/php-react-promise.spec
@@ -1,7 +1,7 @@
 #
 # RPM spec file for php-react-promise
 #
-# Copyright (c) 2014 Shawn Iwinski <shawn.iwinski at gmail.com>
+# Copyright (c) 2014-2015 Shawn Iwinski <shawn.iwinski at gmail.com>
 #
 # License: MIT
 # http://opensource.org/licenses/MIT
@@ -11,8 +11,8 @@
 
 %global github_owner     reactphp
 %global github_name      promise
-%global github_version   2.1.0
-%global github_commit    937b04f1b0ee8f6d180e75a0830aac778ca4bcd6
+%global github_version   2.2.0
+%global github_commit    365fcee430dfa4ace1fbc75737ca60ceea7eeeef
 
 %global composer_vendor  react
 %global composer_project promise
@@ -38,16 +38,20 @@ Source0:       %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{githu
 
 BuildArch:     noarch
 %if %{with_tests}
-BuildRequires: php-phpunit-PHPUnit
+BuildRequires: %{__phpunit}
 # composer.json
 BuildRequires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 2.1.0)
+# phpcompatinfo (computed from version 2.2.0)
+BuildRequires: php-json
+BuildRequires: php-reflection
 BuildRequires: php-spl
 %endif
 
 # composer.json
 Requires:      php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 2.1.0)
+# phpcompatinfo (computed from version 2.2.0)
+Requires:      php-json
+Requires:      php-reflection
 Requires:      php-spl
 
 # Composer
@@ -92,13 +96,9 @@ spl_autoload_register(function ($class) {
 require_once '%{buildroot}%{phpdir}/React/Promise/functions.php';
 BOOTSTRAP
 
-# Create PHPUnit config with colors turned off
-sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml
-
 %{__phpunit} \
     --bootstrap ./bootstrap.php \
-    --include-path %{buildroot}%{phpdir}:./tests \
-    -d date.timezone="UTC"
+    --include-path %{buildroot}%{phpdir}:./tests
 %else
 : Tests skipped
 %endif
@@ -113,6 +113,9 @@ sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
 
 %changelog
+* Sun Jan 04 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.2.0-1
+- Updated to 2.2.0 (BZ #1178411)
+
 * Mon Oct 27 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 2.1.0-1
 - Updated to 2.1.0
 


More information about the scm-commits mailing list