summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json20
-rw-r--r--php-phpunit-php-code-coverage10.spec94
2 files changed, 44 insertions, 70 deletions
diff --git a/composer.json b/composer.json
index 6e2ed05..855b369 100644
--- a/composer.json
+++ b/composer.json
@@ -33,15 +33,15 @@
"ext-dom": "*",
"ext-libxml": "*",
"ext-xmlwriter": "*",
- "nikic/php-parser": "^4.18 || ^5.0",
- "phpunit/php-file-iterator": "^4.0",
- "phpunit/php-text-template": "^3.0",
- "sebastian/code-unit-reverse-lookup": "^3.0",
- "sebastian/complexity": "^3.0",
- "sebastian/environment": "^6.0",
- "sebastian/lines-of-code": "^2.0",
- "sebastian/version": "^4.0",
- "theseer/tokenizer": "^1.2.0"
+ "nikic/php-parser": "^4.19.1 || ^5.1.0",
+ "phpunit/php-file-iterator": "^4.1.0",
+ "phpunit/php-text-template": "^3.0.1",
+ "sebastian/code-unit-reverse-lookup": "^3.0.0",
+ "sebastian/complexity": "^3.2.0",
+ "sebastian/environment": "^6.1.0",
+ "sebastian/lines-of-code": "^2.0.2",
+ "sebastian/version": "^4.0.1",
+ "theseer/tokenizer": "^1.2.3"
},
"require-dev": {
"phpunit/phpunit": "^10.1"
@@ -63,7 +63,7 @@
},
"extra": {
"branch-alias": {
- "dev-main": "10.1-dev"
+ "dev-main": "10.1.x-dev"
}
}
}
diff --git a/php-phpunit-php-code-coverage10.spec b/php-phpunit-php-code-coverage10.spec
index b0bc22a..9c7aaeb 100644
--- a/php-phpunit-php-code-coverage10.spec
+++ b/php-phpunit-php-code-coverage10.spec
@@ -10,11 +10,11 @@
%bcond_without tests
# Github
-%global gh_commit 5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae
+%global gh_commit 7e308268858ed6baedc8704a304727d20bc07c77
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-code-coverage
-%global gh_date 2024-06-29
+%global gh_date 2024-08-22
# Packagist
%global pk_vendor phpunit
%global pk_project php-code-coverage
@@ -25,7 +25,7 @@
%global ver_major 10
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 10.1.15
+Version: 10.1.16
Release: 1%{?dist}
Summary: PHP code coverage information, version %{ver_major}
@@ -42,29 +42,15 @@ BuildArch: noarch
BuildRequires: php(language) >= 8.1
BuildRequires: php-fedora-autoloader-devel >= 1.0.0
%if %{with tests}
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6)
-BuildRequires: (php-composer(phpunit/php-file-iterator) >= 4.0 with php-composer(phpunit/php-file-iterator) < 5)
-BuildRequires: (php-composer(phpunit/php-text-template) >= 3.0 with php-composer(phpunit/php-text-template) < 4)
-BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 3.0 with php-composer(sebastian/code-unit-reverse-lookup) < 4)
-BuildRequires: (php-composer(sebastian/complexity) >= 3.0 with php-composer(sebastian/complexity) < 4)
-BuildRequires: (php-composer(sebastian/environment) >= 6.0 with php-composer(sebastian/environment) < 7)
-BuildRequires: (php-composer(sebastian/lines-of-code) >= 2.0 with php-composer(sebastian/lines-of-code) < 3)
-BuildRequires: (php-composer(sebastian/version) >= 4.0 with php-composer(sebastian/version) < 5)
-BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
-# remirepo:11
-%else
-BuildRequires: php-nikic-php-parser4 >= 4.18
-BuildRequires: php-phpunit-php-file-iterator4
-BuildRequires: php-phpunit-php-text-template3
-BuildRequires: php-sebastian-code-unit-reverse-lookup3
-BuildRequires: php-sebastian-complexity3
-BuildRequires: php-sebastian-environment6
-BuildRequires: php-sebastian-lines-of-code2
-BuildRequires: php-sebastian-version4
-BuildRequires: php-theseer-tokenizer >= 1.2.0
-%endif
+BuildRequires: (php-composer(nikic/php-parser) >= 4.19.1 with php-composer(nikic/php-parser) < 6)
+BuildRequires: (php-composer(phpunit/php-file-iterator) >= 4.1.0 with php-composer(phpunit/php-file-iterator) < 5)
+BuildRequires: (php-composer(phpunit/php-text-template) >= 3.0.1 with php-composer(phpunit/php-text-template) < 4)
+BuildRequires: (php-composer(sebastian/code-unit-reverse-lookup) >= 3.0.0 with php-composer(sebastian/code-unit-reverse-lookup) < 4)
+BuildRequires: (php-composer(sebastian/complexity) >= 3.2.0 with php-composer(sebastian/complexity) < 4)
+BuildRequires: (php-composer(sebastian/environment) >= 6.1.0 with php-composer(sebastian/environment) < 7)
+BuildRequires: (php-composer(sebastian/lines-of-code) >= 2.0.2 with php-composer(sebastian/lines-of-code) < 3)
+BuildRequires: (php-composer(sebastian/version) >= 4.0.1 with php-composer(sebastian/version) < 5)
+BuildRequires: (php-composer(theseer/tokenizer) >= 1.2.3 with php-composer(theseer/tokenizer) < 2)
BuildRequires: php-date
BuildRequires: php-dom
BuildRequires: php-json
@@ -85,47 +71,33 @@ BuildRequires: php-xdebug
# "ext-dom": "*",
# "ext-libxml": "*",
# "ext-xmlwriter": "*",
-# "nikic/php-parser": "^4.18 || ^5.0",
-# "phpunit/php-file-iterator": "^4.0",
-# "phpunit/php-text-template": "^3.0",
-# "sebastian/code-unit-reverse-lookup": "^3.0",
-# "sebastian/complexity": "^3.0",
-# "sebastian/environment": "^6.0",
-# "sebastian/lines-of-code": "^2.0",
-# "sebastian/version": "^4.0",
-# "theseer/tokenizer": "^1.2.0"
+# "nikic/php-parser": "^4.19.1 || ^5.1.0",
+# "phpunit/php-file-iterator": "^4.1.0",
+# "phpunit/php-text-template": "^3.0.1",
+# "sebastian/code-unit-reverse-lookup": "^3.0.0",
+# "sebastian/complexity": "^3.2.0",
+# "sebastian/environment": "^6.1.0",
+# "sebastian/lines-of-code": "^2.0.2",
+# "sebastian/version": "^4.0.1",
+# "theseer/tokenizer": "^1.2.3"
Requires: php(language) >= 8.1
Requires: php-dom
Requires: php-libxml
Requires: php-xmlwriter
-# remirepo:1
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Requires: (php-composer(nikic/php-parser) >= 4.18 with php-composer(nikic/php-parser) < 6)
-Requires: (php-composer(phpunit/php-file-iterator) >= 4.0 with php-composer(phpunit/php-file-iterator) < 5)
-Requires: (php-composer(phpunit/php-text-template) >= 3.0 with php-composer(phpunit/php-text-template) < 4)
-Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 3.0 with php-composer(sebastian/code-unit-reverse-lookup) < 4)
-Requires: (php-composer(sebastian/complexity) >= 3.0 with php-composer(sebastian/complexity) < 4)
-Requires: (php-composer(sebastian/environment) >= 6.0 with php-composer(sebastian/environment) < 7)
-Requires: (php-composer(sebastian/lines-of-code) >= 2.0 with php-composer(sebastian/lines-of-code) < 3)
-Requires: (php-composer(sebastian/version) >= 4.0 with php-composer(sebastian/version) < 5)
-Requires: (php-composer(theseer/tokenizer) >= 1.2.0 with php-composer(theseer/tokenizer) < 2)
+Requires: (php-composer(nikic/php-parser) >= 4.19.1 with php-composer(nikic/php-parser) < 6)
+Requires: (php-composer(phpunit/php-file-iterator) >= 4.1.0 with php-composer(phpunit/php-file-iterator) < 5)
+Requires: (php-composer(phpunit/php-text-template) >= 3.0.1 with php-composer(phpunit/php-text-template) < 4)
+Requires: (php-composer(sebastian/code-unit-reverse-lookup) >= 3.0.0 with php-composer(sebastian/code-unit-reverse-lookup) < 4)
+Requires: (php-composer(sebastian/complexity) >= 3.2.0 with php-composer(sebastian/complexity) < 4)
+Requires: (php-composer(sebastian/environment) >= 6.1.0 with php-composer(sebastian/environment) < 7)
+Requires: (php-composer(sebastian/lines-of-code) >= 2.0.2 with php-composer(sebastian/lines-of-code) < 3)
+Requires: (php-composer(sebastian/version) >= 4.0.1 with php-composer(sebastian/version) < 5)
+Requires: (php-composer(theseer/tokenizer) >= 1.2.3 with php-composer(theseer/tokenizer) < 2)
# From composer.json, suggest
# "ext-pcov": "*",
# "ext-xdebug": "*"
Suggests: php-xdebug
Recommends: php-pcov
-# remirepo:11
-%else
-Requires: php-nikic-php-parser4 >= 4.18
-Requires: php-phpunit-php-file-iterator4
-Requires: php-phpunit-php-text-template3
-Requires: php-sebastian-code-unit-reverse-lookup3
-Requires: php-sebastian-complexity3
-Requires: php-sebastian-environment6
-Requires: php-sebastian-lines-of-code2
-Requires: php-sebastian-version4
-Requires: php-theseer-tokenizer >= 1.2.0
-%endif
# From phpcompatinfo report for version 10.0.0
Requires: php-date
Requires: php-json
@@ -220,8 +192,6 @@ exit $ret
%files
-# remirepo:1
-%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README.md
%doc ChangeLog-10.1.md
@@ -230,6 +200,10 @@ exit $ret
%changelog
+* Thu Aug 22 2024 Remi Collet <remi@remirepo.net> - 10.1.16-1
+- update to 10.1.16 (no change)
+- raise dependencies
+
* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 10.1.15-1
- update to 10.1.15