From 9909cb9e0895d4016e400a8a49b729cf4e1301f5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 24 Apr 2020 07:47:18 +0200 Subject: [PATCH] update to 9.1.3 raise dependency on phpunit/php-timer 3.1.4 add dependency on sebastian/code-unit (cherry picked from commit efaf444cbffcbbd1de3e8ea08edd83cd4f29c5ff) --- .gitignore | 1 + phpunit9.spec | 23 ++++++++++++++++------- sources | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 33805a7..4e51a5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /phpunit9-9.0.1-68d7e5b.tar.gz /phpunit9-9.0.2-c0ecbfb.tar.gz +/phpunit9-9.1.3-a747804.tar.gz diff --git a/phpunit9.spec b/phpunit9.spec index 6bccc65..3d35109 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 a74780472172957a65cb5999a597e8c0878cf39c #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 3 %global specrel 1 Name: %{pk_project}%{ver_major} @@ -50,7 +50,8 @@ 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) BuildRequires: (php-composer(sebastian/environment) >= 5.0.1 with php-composer(sebastian/environment) < 6) @@ -86,7 +87,8 @@ 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", # "sebastian/environment": "^5.0.1", @@ -113,7 +115,8 @@ 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) Requires: (php-composer(sebastian/environment) >= 5.0.1 with php-composer(sebastian/environment) < 6) @@ -170,6 +173,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', @@ -223,7 +227,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 @@ -240,6 +244,11 @@ exit $ret %changelog +* Thu Apr 23 2020 Remi Collet - 9.1.3-1 +- update to 9.1.3 +- raise dependency on phpunit/php-timer 3.1.4 +- add dependency on sebastian/code-unit + * Tue Mar 31 2020 Remi Collet - 9.0.2-1 - update to 9.0.2 - own /usr/share/php/PHPUnit9/Extensions diff --git a/sources b/sources index 3ce5125..9b4808b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phpunit9-9.0.2-c0ecbfb.tar.gz) = d03885e0bfee9b2a6acd42af0f9869e9daa2c2faf11948fff2a5bf4148f46e003b73410fe7d0c1b31f1ec73266e5c3abdf1b759fdea10417ca79ab9302a126af +SHA512 (phpunit9-9.1.3-a747804.tar.gz) = 5285ec86f8755b737f863fd833b9cb2b603e7f06499866c136f92407c4fe3c38567e275dcc6ce8c13a522b5eec6a0857ac8d4933f6b6a1f03551db75ff5d7f1d