summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json5
-rw-r--r--phpunit9.spec20
2 files changed, 15 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index 04cea3c..05fb9a4 100644
--- a/composer.json
+++ b/composer.json
@@ -37,7 +37,7 @@
"phpunit/php-file-iterator": "^3.0",
"phpunit/php-invoker": "^3.0",
"phpunit/php-text-template": "^2.0",
- "phpunit/php-timer": "^3.0",
+ "phpunit/php-timer": "^3.1.4",
"sebastian/code-unit": "^1.0",
"sebastian/comparator": "^4.0",
"sebastian/diff": "^4.0",
@@ -50,7 +50,8 @@
"sebastian/version": "^3.0"
},
"require-dev": {
- "ext-PDO": "*"
+ "ext-PDO": "*",
+ "phpspec/prophecy-phpunit": "^2.0"
},
"config": {
"platform": {
diff --git a/phpunit9.spec b/phpunit9.spec
index a47cee4..52b0388 100644
--- a/phpunit9.spec
+++ b/phpunit9.spec
@@ -11,7 +11,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 848f6521c906500e66229668768576d35de0227e
+%global gh_commit d99d4e69c98c18d5c5f033c68c623880536f37be
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -24,7 +24,7 @@
%global php_home %{_datadir}/php
%global ver_major 9
%global ver_minor 1
-%global ver_patch 1
+%global ver_patch 2
%global specrel 1
Name: %{pk_project}%{ver_major}
@@ -52,7 +52,7 @@ BuildRequires: (php-composer(phpunit/php-code-coverage) >= 8.0.1 with php-c
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0 with php-composer(phpunit/php-file-iterator) < 4)
BuildRequires: (php-composer(phpunit/php-invoker) >= 3.0 with php-composer(phpunit/php-invoker) < 4)
BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0 with php-composer(phpunit/php-text-template) < 3)
-BuildRequires: (php-composer(phpunit/php-timer) >= 3.0 with php-composer(phpunit/php-timer) < 4)
+BuildRequires: (php-composer(phpunit/php-timer) >= 3.1.4 with php-composer(phpunit/php-timer) < 4)
BuildRequires: (php-composer(sebastian/code-unit) >= 1.0 with php-composer(sebastian/code-unit) < 2)
BuildRequires: (php-composer(sebastian/comparator) >= 4.0 with php-composer(sebastian/comparator) < 5)
BuildRequires: (php-composer(sebastian/diff) >= 4.0 with php-composer(sebastian/diff) < 5)
@@ -74,7 +74,7 @@ BuildRequires: php-phpunit-php-code-coverage8 >= 8.0.1
BuildRequires: php-phpunit-php-file-iterator3
BuildRequires: php-phpunit-php-invoker3
BuildRequires: php-phpunit-php-text-template2
-BuildRequires: php-phpunit-php-timer3
+BuildRequires: php-phpunit-php-timer3 >= 3.1.4
BuildRequires: php-sebastian-code-unit
BuildRequires: php-sebastian-comparator4
BuildRequires: php-sebastian-diff4
@@ -112,7 +112,7 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# "phpunit/php-file-iterator": "^3.0",
# "phpunit/php-invoker": "^3.0",
# "phpunit/php-text-template": "^2.0",
-# "phpunit/php-timer": "^3.0",
+# "phpunit/php-timer": "^3.1.4",
# "sebastian/code-unit": "^1.0",
# "sebastian/comparator": "^4.0",
# "sebastian/diff": "^4.0",
@@ -142,7 +142,7 @@ Requires: (php-composer(phpunit/php-code-coverage) >= 8.0.1 with php-c
Requires: (php-composer(phpunit/php-file-iterator) >= 3.0 with php-composer(phpunit/php-file-iterator) < 4)
Requires: (php-composer(phpunit/php-invoker) >= 3.0 with php-composer(phpunit/php-invoker) < 4)
Requires: (php-composer(phpunit/php-text-template) >= 2.0 with php-composer(phpunit/php-text-template) < 3)
-Requires: (php-composer(phpunit/php-timer) >= 3.0 with php-composer(phpunit/php-timer) < 4)
+Requires: (php-composer(phpunit/php-timer) >= 3.1.4 with php-composer(phpunit/php-timer) < 4)
Requires: (php-composer(sebastian/code-unit) >= 1.0 with php-composer(sebastian/code-unit) < 2)
Requires: (php-composer(sebastian/comparator) >= 4.0 with php-composer(sebastian/comparator) < 5)
Requires: (php-composer(sebastian/diff) >= 4.0 with php-composer(sebastian/diff) < 5)
@@ -169,7 +169,7 @@ Requires: php-phpunit-php-code-coverage8 >= 8.0.1
Requires: php-phpunit-php-file-iterator3
Requires: php-phpunit-php-invoker3
Requires: php-phpunit-php-text-template2
-Requires: php-phpunit-php-timer3
+Requires: php-phpunit-php-timer3 >= 3.1.4
Requires: php-sebastian-code-unit
Requires: php-sebastian-comparator4
Requires: php-sebastian-diff4
@@ -277,7 +277,7 @@ sed -e 's:@PATH@:%{buildroot}%{php_home}/%{ns_vendor}:' -i tests/bootstrap.php
sed -e 's:%{php_home}/%{ns_vendor}:%{buildroot}%{php_home}/%{ns_vendor}:' -i phpunit
ret=0
-for cmd in php php73 php74; do
+for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd ./phpunit $OPT --verbose || ret=1
fi
@@ -296,6 +296,10 @@ exit $ret
%changelog
+* Mon Apr 20 2020 Remi Collet <remi@remirepo.net> - 9.1.2-1
+- update to 9.1.2
+- raise dependency on phpunit/php-timer 3.1.4
+
* Sat Apr 4 2020 Remi Collet <remi@remirepo.net> - 9.1.1-1
- update to 9.1.1