diff options
author | Remi Collet <remi@remirepo.net> | 2018-02-01 07:59:54 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-02-01 07:59:54 +0100 |
commit | b08c3f1b8afc6584474fe0c79e1029c531d62b06 (patch) | |
tree | a1825a6f4a7b7c7b3c24b44dcfad371a3e6879eb | |
parent | 1728e8e5510ad8ef707f5282b221c78623619d0f (diff) |
Update to 6.5.6
undefine __brp_mangle_shebangs
use range dependencies on F27+
-rw-r--r-- | phpunit6.spec | 66 |
1 files changed, 59 insertions, 7 deletions
diff --git a/phpunit6.spec b/phpunit6.spec index abe99b2..307f350 100644 --- a/phpunit6.spec +++ b/phpunit6.spec @@ -1,13 +1,17 @@ # remirepo/fedora spec file for phpunit6 # -# Copyright (c) 2010-2017 Remi Collet +# Copyright (c) 2010-2018 Remi Collet # # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit 83d27937a310f2984fd575686138597147bdc7df + +# For compatibility with SCL +%undefine __brp_mangle_shebangs + +%global gh_commit 3330ef26ade05359d006041316ed0fa9e8e3cefe #global gh_date 20150927 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_vendor sebastianbergmann @@ -20,7 +24,7 @@ %global php_home %{_datadir}/php %global ver_major 6 %global ver_minor 5 -%global ver_patch 5 +%global ver_patch 6 %global specrel 1 Name: %{pk_project}%{ver_major} @@ -38,6 +42,26 @@ Patch0: %{name}-rpm.patch BuildArch: noarch BuildRequires: php(language) >= 7.0 +%if 0%{?fedora} >= 27 +BuildRequires: (php-composer(myclabs/deep-copy) >= 1.6.1 with php-composer(myclabs/deep-copy) < 2) +BuildRequires: (php-composer(phar-io/manifest) >= 1.0.1 with php-composer(phar-io/manifest) < 2) +BuildRequires: (php-composer(phar-io/version) >= 1.0 with php-composer(phar-io/version) < 2) +BuildRequires: (php-composer(phpspec/prophecy) >= 1.7 with php-composer(phpspec/prophecy) < 2) +BuildRequires: (php-composer(phpunit/php-code-coverage) >= 5.3 with php-composer(phpunit/php-code-coverage) < 6) +BuildRequires: (php-composer(phpunit/php-file-iterator) >= 1.4.3 with php-composer(phpunit/php-file-iterator) < 2) +BuildRequires: (php-composer(phpunit/php-text-template) >= 1.2.1 with php-composer(phpunit/php-text-template) < 2) +BuildRequires: (php-composer(phpunit/php-timer) >= 1.0.9 with php-composer(phpunit/php-timer) < 2) +BuildRequires: (php-composer(phpunit/phpunit-mock-objects) >= 5.0.5 with php-composer(phpunit/phpunit-mock-objects) < 6) +BuildRequires: (php-composer(sebastian/comparator) >= 2.0.2 with php-composer(sebastian/comparator) < 3) +BuildRequires: (php-composer(sebastian/diff) >= 2.0 with php-composer(sebastian/diff) < 3) +BuildRequires: (php-composer(sebastian/environment) >= 3.1 with php-composer(sebastian/environment) < 4) +BuildRequires: (php-composer(sebastian/exporter) >= 3.1 with php-composer(sebastian/exporter) < 4) +BuildRequires: (php-composer(sebastian/global-state) >= 2.0 with php-composer(sebastian/global-state) < 3) +BuildRequires: (php-composer(sebastian/object-enumerator) >= 3.0.3 with php-composer(sebastian/object-enumerator) < 4) +BuildRequires: (php-composer(sebastian/resource-operations) >= 1.0 with php-composer(sebastian/resource-operations) < 2) +BuildRequires: (php-composer(sebastian/version) >= 2.0.1 with php-composer(sebastian/version) < 3) +BuildRequires: (php-composer(phpunit/php-invoker) < 2 with php-composer(phpunit/php-invoker) >= 1.1) +%else BuildRequires: php-composer(myclabs/deep-copy) < 2 BuildRequires: php-composer(myclabs/deep-copy) >= 1.6.1 BuildRequires: php-composer(phar-io/manifest) < 2 @@ -72,12 +96,14 @@ BuildRequires: php-composer(sebastian/resource-operations) < 2 BuildRequires: php-composer(sebastian/resource-operations) >= 1.0 BuildRequires: php-composer(sebastian/version) < 3 BuildRequires: php-composer(sebastian/version) >= 2.0.1 +BuildRequires: php-composer(phpunit/php-invoker) < 2 +BuildRequires: php-composer(phpunit/php-invoker) >= 1.1.0 +%endif BuildRequires: php-dom BuildRequires: php-json BuildRequires: php-mbstring BuildRequires: php-xml BuildRequires: php-libxml -BuildRequires: php-composer(phpunit/php-invoker) >= 1.1.0 # Autoloader BuildRequires: php-fedora-autoloader-devel >= 1.0.0 @@ -112,6 +138,29 @@ Requires: php-json Requires: php-libxml Requires: php-mbstring Requires: php-xml +%if 0%{?fedora} >= 27 +Requires: (php-composer(myclabs/deep-copy) >= 1.6.1 with php-composer(myclabs/deep-copy) < 2) +Requires: (php-composer(phar-io/manifest) >= 1.0.1 with php-composer(phar-io/manifest) < 2) +Requires: (php-composer(phar-io/version) >= 1.0 with php-composer(phar-io/version) < 2) +Requires: (php-composer(phpspec/prophecy) >= 1.7 with php-composer(phpspec/prophecy) < 2) +Requires: (php-composer(phpunit/php-code-coverage) >= 5.3 with php-composer(phpunit/php-code-coverage) < 6) +Requires: (php-composer(phpunit/php-file-iterator) >= 1.4.3 with php-composer(phpunit/php-file-iterator) < 2) +Requires: (php-composer(phpunit/php-text-template) >= 1.2.1 with php-composer(phpunit/php-text-template) < 2) +Requires: (php-composer(phpunit/php-timer) >= 1.0.9 with php-composer(phpunit/php-timer) < 2) +Requires: (php-composer(phpunit/phpunit-mock-objects) >= 5.0.5 with php-composer(phpunit/phpunit-mock-objects) < 6) +Requires: (php-composer(sebastian/comparator) >= 2.0.2 with php-composer(sebastian/comparator) < 3) +Requires: (php-composer(sebastian/diff) >= 2.0 with php-composer(sebastian/diff) < 3) +Requires: (php-composer(sebastian/environment) >= 3.1 with php-composer(sebastian/environment) < 4) +Requires: (php-composer(sebastian/exporter) >= 3.1 with php-composer(sebastian/exporter) < 4) +Requires: (php-composer(sebastian/global-state) >= 2.0 with php-composer(sebastian/global-state) < 3) +Requires: (php-composer(sebastian/object-enumerator) >= 3.0.3 with php-composer(sebastian/object-enumerator) < 4) +Requires: (php-composer(sebastian/resource-operations) >= 1.0 with php-composer(sebastian/resource-operations) < 2) +Requires: (php-composer(sebastian/version) >= 2.0.1 with php-composer(sebastian/version) < 3) +# From composer.json, "suggest": { +# "phpunit/php-invoker": "^1.1", +# "ext-xdebug": "*" +Requires: (php-composer(phpunit/php-invoker) < 2 with php-composer(phpunit/php-invoker) >= 1.1) +%else Requires: php-composer(myclabs/deep-copy) < 2 Requires: php-composer(myclabs/deep-copy) >= 1.6.1 Requires: php-composer(phar-io/manifest) < 2 @@ -146,11 +195,9 @@ Requires: php-composer(sebastian/resource-operations) < 2 Requires: php-composer(sebastian/resource-operations) >= 1.0 Requires: php-composer(sebastian/version) < 3 Requires: php-composer(sebastian/version) >= 2.0.1 -# From composer.json, "suggest": { -# "phpunit/php-invoker": "^1.1", -# "ext-xdebug": "*" Requires: php-composer(phpunit/php-invoker) >= 1.1 Requires: php-composer(phpunit/php-invoker) < 2 +%endif # Autoloader Requires: php-composer(fedora/autoloader) # From phpcompatinfo report for version 5.6.0 @@ -264,6 +311,11 @@ exit $ret %changelog +* Thu Feb 1 2018 Remi Collet <remi@remirepo.net> - 6.5.6-1 +- Update to 6.5.6 +- undefine __brp_mangle_shebangs +- use range dependencies on F27+ + * Mon Dec 18 2017 Remi Collet <remi@remirepo.net> - 6.5.5-1 - Update to 6.5.5 |