summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--phpunit9.spec20
2 files changed, 17 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 3c736ee..04cea3c 100644
--- a/composer.json
+++ b/composer.json
@@ -38,6 +38,7 @@
"phpunit/php-invoker": "^3.0",
"phpunit/php-text-template": "^2.0",
"phpunit/php-timer": "^3.0",
+ "sebastian/code-unit": "^1.0",
"sebastian/comparator": "^4.0",
"sebastian/diff": "^4.0",
"sebastian/environment": "^5.0.1",
@@ -85,7 +86,7 @@
},
"extra": {
"branch-alias": {
- "dev-master": "9.0-dev"
+ "dev-master": "9.1-dev"
}
}
}
diff --git a/phpunit9.spec b/phpunit9.spec
index a2e477c..712ddb2 100644
--- a/phpunit9.spec
+++ b/phpunit9.spec
@@ -11,7 +11,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit c0ecbfb898ab8b24d8a59a23520f7b2a73e27b5b
+%global gh_commit ef2af937ce574f215afb6dca37d583cb2964bad9
#global gh_date 20150927
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -23,8 +23,8 @@
%global ns_vendor PHPUnit9
%global php_home %{_datadir}/php
%global ver_major 9
-%global ver_minor 0
-%global ver_patch 2
+%global ver_minor 1
+%global ver_patch 0
%global specrel 1
Name: %{pk_project}%{ver_major}
@@ -53,6 +53,7 @@ BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0 with php-c
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(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)
BuildRequires: (php-composer(sebastian/environment) >= 5.0.1 with php-composer(sebastian/environment) < 6)
@@ -62,7 +63,7 @@ BuildRequires: (php-composer(sebastian/object-enumerator) >= 4.0 with php-c
BuildRequires: (php-composer(sebastian/resource-operations) >= 3.0 with php-composer(sebastian/resource-operations) < 4)
BuildRequires: (php-composer(sebastian/type) >= 2.0 with php-composer(sebastian/type) < 3)
BuildRequires: (php-composer(sebastian/version) >= 3.0 with php-composer(sebastian/version) < 4)
-# remirepo:21
+# remirepo:22
%else
BuildRequires: php-doctrine-instantiator11 >= 1.2.0
BuildRequires: php-myclabs-deep-copy19 >= 1.9.1
@@ -74,6 +75,7 @@ BuildRequires: php-phpunit-php-file-iterator3
BuildRequires: php-phpunit-php-invoker3
BuildRequires: php-phpunit-php-text-template2
BuildRequires: php-phpunit-php-timer3
+BuildRequires: php-sebastian-code-unit
BuildRequires: php-sebastian-comparator4
BuildRequires: php-sebastian-diff4
BuildRequires: php-sebastian-environment5 >= 5.0.1
@@ -111,6 +113,7 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
# "phpunit/php-invoker": "^3.0",
# "phpunit/php-text-template": "^2.0",
# "phpunit/php-timer": "^3.0",
+# "sebastian/code-unit": "^1.0",
# "sebastian/comparator": "^4.0",
# "sebastian/diff": "^4.0",
# "sebastian/environment": "^5.0.1",
@@ -140,6 +143,7 @@ Requires: (php-composer(phpunit/php-file-iterator) >= 3.0 with php-c
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(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)
Requires: (php-composer(sebastian/environment) >= 5.0.1 with php-composer(sebastian/environment) < 6)
@@ -154,7 +158,7 @@ Requires: (php-composer(sebastian/version) >= 3.0 with php-c
# "ext-xdebug": "*"
Suggests: php-soap
Suggests: php-xdebug
-# remirepo:21
+# remirepo:22
%else
Requires: php-doctrine-instantiator11 >= 1.2.0
Requires: php-myclabs-deep-copy19 >= 1.9.1
@@ -166,6 +170,7 @@ Requires: php-phpunit-php-file-iterator3
Requires: php-phpunit-php-invoker3
Requires: php-phpunit-php-text-template2
Requires: php-phpunit-php-timer3
+Requires: php-sebastian-code-unit
Requires: php-sebastian-comparator4
Requires: php-sebastian-diff4
Requires: php-sebastian-environment5 >= 5.0.1
@@ -218,6 +223,7 @@ cat << 'EOF' | tee -a src/autoload.php
'%{php_home}/SebastianBergmann/Template2/autoload.php',
'%{php_home}/SebastianBergmann/Timer3/autoload.php',
'%{php_home}/Prophecy/autoload.php',
+ '%{php_home}/SebastianBergmann/CodeUnit/autoload.php',
'%{php_home}/SebastianBergmann/Invoker3/autoload.php',
'%{php_home}/SebastianBergmann/Diff4/autoload.php',
'%{php_home}/SebastianBergmann/Comparator4/autoload.php',
@@ -290,6 +296,10 @@ exit $ret
%changelog
+* Fri Apr 3 2020 Remi Collet <remi@remirepo.net> - 9.1.0-1
+- update to 9.1.0
+- add dependency on sebastian/code-unit
+
* Tue Mar 31 2020 Remi Collet <remi@remirepo.net> - 9.0.2-1
- update to 9.0.2
- own /usr/share/php/PHPUnit9/Extensions