summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-phpunit-php-code-coverage9.spec20
2 files changed, 13 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index fbc1081..898484f 100644
--- a/composer.json
+++ b/composer.json
@@ -32,7 +32,7 @@
"ext-dom": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
- "nikic/php-parser": "^4.10.2",
+ "nikic/php-parser": "^4.12.0",
"phpunit/php-file-iterator": "^3.0.3",
"phpunit/php-text-template": "^2.0.2",
"sebastian/code-unit-reverse-lookup": "^2.0.2",
diff --git a/php-phpunit-php-code-coverage9.spec b/php-phpunit-php-code-coverage9.spec
index 9347d90..8414b00 100644
--- a/php-phpunit-php-code-coverage9.spec
+++ b/php-phpunit-php-code-coverage9.spec
@@ -10,7 +10,7 @@
%bcond_without tests
# Github
-%global gh_commit f6293e1b30a2354e8428e004689671b83871edde
+%global gh_commit d4c798ed8d51506800b441f7a13ecb0f76f12218
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_vendor sebastianbergmann
@@ -25,7 +25,7 @@
%global ver_major 9
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 9.2.6
+Version: 9.2.7
Release: 1%{?dist}
Summary: PHP code coverage information
@@ -44,7 +44,7 @@ BuildRequires: php-fedora-autoloader-devel >= 1.0.0
BuildRequires: php(language) >= 7.3
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(nikic/php-parser) >= 4.10.2 with php-composer(nikic/php-parser) < 5)
+BuildRequires: (php-composer(nikic/php-parser) >= 4.12.0 with php-composer(nikic/php-parser) < 5)
BuildRequires: (php-composer(phpunit/php-file-iterator) >= 3.0.3 with php-composer(phpunit/php-file-iterator) < 4)
BuildRequires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3)
BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.2 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
@@ -55,7 +55,7 @@ BuildRequires: (php-composer(sebastian/version) >= 3.0.1 with
BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
# remirepo:11
%else
-BuildRequires: php-nikic-php-parser4 >= 4.10.2
+BuildRequires: php-nikic-php-parser4 >= 4.12.0
BuildRequires: php-phpunit-php-file-iterator3 >= 3.0.3
BuildRequires: php-phpunit-php-text-template2 >= 2.0.2
BuildRequires: php-sebastian-code-unit-reverse-lookup2 >= 2.0.2
@@ -76,7 +76,7 @@ BuildRequires: php-xdebug
# "ext-dom": "*",
# "ext-libxml": "*",
# "ext-xmlwriter": "*",
-# "nikic/php-parser": "^4.7",
+# "nikic/php-parser": "^4.12.0",
# "phpunit/php-file-iterator": "^3.0.3",
# "phpunit/php-text-template": "^2.0.2",
# "sebastian/code-unit-reverse-lookup": "^2.0.2",
@@ -91,7 +91,7 @@ Requires: php-libxml
Requires: php-xmlwriter
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(nikic/php-parser) >= 4.10.2 with php-composer(nikic/php-parser) < 5)
+Requires: (php-composer(nikic/php-parser) >= 4.12.0 with php-composer(nikic/php-parser) < 5)
Requires: (php-composer(phpunit/php-file-iterator) >= 3.0.3 with php-composer(phpunit/php-file-iterator) < 4)
Requires: (php-composer(phpunit/php-text-template) >= 2.0.2 with php-composer(phpunit/php-text-template) < 3)
Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 2.0.2 with php-composer(sebastian/code-unit-reverse-lookup) < 3)
@@ -107,7 +107,7 @@ Suggests: php-xdebug
Recommends: php-pcov
# remirepo:11
%else
-Requires: php-nikic-php-parser4 >= 4.10.2
+Requires: php-nikic-php-parser4 >= 4.12.0
Requires: php-phpunit-php-file-iterator3 >= 3.0.3
Requires: php-phpunit-php-text-template2 >= 2.0.2
Requires: php-sebastian-code-unit-reverse-lookup2 >= 2.0.2
@@ -190,7 +190,7 @@ define('TEST_FILES_PATH', __DIR__ . '/_files/');
EOF
ret=0
-for cmd in php php73 php74 php80; do
+for cmd in php php73 php74 php80 php81; do
if which $cmd; then
$cmd $EXT \
-d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
@@ -213,6 +213,10 @@ exit $ret
%changelog
+* Tue Sep 21 2021 Remi Collet <remi@remirepo.net> - 9.2.7-1
+- update to 9.2.7
+- raise dependency on nikic/php-parser 4.12.0
+
* Mon Mar 29 2021 Remi Collet <remi@remirepo.net> - 9.2.6-1
- update to 9.2.6