From d5655c79fbefff0ef6076f58154941808d48524e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Apr 2016 10:23:39 +0200 Subject: php-react-promise: 2.4.0 (backported from Fedora) --- php-react-promise.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'php-react-promise.spec') diff --git a/php-react-promise.spec b/php-react-promise.spec index 99460ec..2a5c57f 100644 --- a/php-react-promise.spec +++ b/php-react-promise.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-react-promise # -# Copyright (c) 2014-2015 Shawn Iwinski +# Copyright (c) 2014-2016 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner reactphp %global github_name promise -%global github_version 2.2.1 -%global github_commit 3b6fca09c7d56321057fa8867c8dbe1abf648627 +%global github_version 2.4.0 +%global github_commit f942da7b505d1a294284ab343d05df42d02ad6d9 %global composer_vendor react %global composer_project promise @@ -28,7 +28,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 2%{?github_release}%{?dist} +Release: 1%{?github_release}%{?dist} Summary: A lightweight implementation of CommonJS Promises/A for PHP Group: Development/Libraries @@ -43,7 +43,7 @@ BuildArch: noarch BuildRequires: %{_bindir}/phpunit ## composer.json BuildRequires: php(language) >= %{php_min_ver} -## phpcompatinfo (computed from version 2.2.0) +## phpcompatinfo (computed from version 2.4.0) BuildRequires: php-json BuildRequires: php-reflection BuildRequires: php-spl @@ -53,7 +53,7 @@ BuildRequires: php-composer(symfony/class-loader) # composer.json Requires: php(language) >= %{php_min_ver} -# phpcompatinfo (computed from version 2.2.0) +# phpcompatinfo (computed from version 2.4.0) Requires: php-json Requires: php-reflection Requires: php-spl @@ -77,8 +77,7 @@ cat <<'AUTOLOAD' | tee src/autoload.php addPrefix(null, __DIR__ . '/tests'); BOOTSTRAP %{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php + +if which php70; then + php70 %{_bindir}/phpunit --verbose --bootstrap ./bootstrap.php +fi %else : Tests skipped %endif @@ -147,6 +151,9 @@ rm -rf %{buildroot} %changelog +* Mon Apr 04 2016 Shawn Iwinski - 2.4.0-1 +- Updated to 2.4.0 (RHBZ #1319558) + * Wed Sep 23 2015 Remi Collet - 2.2.1-2 - clean from Fedora -- cgit