diff options
Diffstat (limited to 'php-sebastian-comparator5.spec')
-rw-r--r-- | php-sebastian-comparator5.spec | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/php-sebastian-comparator5.spec b/php-sebastian-comparator5.spec index 2f7f1c2..2d98d33 100644 --- a/php-sebastian-comparator5.spec +++ b/php-sebastian-comparator5.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-sebastian-comparator5 # -# Copyright (c) 2014-2023 Remi Collet +# Copyright (c) 2014-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -10,7 +10,7 @@ # disabled until phpunit10 available %bcond_without tests -%global gh_commit 2db5010a484d53ebf536087a70b4a5423c102372 +%global gh_commit 2d3e04c3b4c1e84a5e7382221ad8883c8fbc4f53 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project comparator @@ -24,7 +24,7 @@ %global ns_project Comparator Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.0.1 +Version: 5.0.2 Release: 1%{?dist} Summary: Compare PHP values for equality, version %{major} @@ -40,20 +40,13 @@ BuildRequires: php-date BuildRequires: php-dom BuildRequires: php-mbstring BuildRequires: php-spl -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{pk_vendor}/diff) >= 5.0 with php-composer(%{pk_vendor}/diff) < 6) BuildRequires: (php-composer(%{pk_vendor}/exporter) >= 5.0 with php-composer(%{pk_vendor}/exporter) < 6) -# remirepo:4 -%else -BuildRequires: php-sebastian-diff5 -BuildRequires: php-sebastian-exporter5 -%endif BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^10.3" -BuildRequires: phpunit10 >= 10.3 +# "phpunit/phpunit": "^10.4" +BuildRequires: phpunit10 >= 10.4 %endif # from composer.json @@ -65,15 +58,8 @@ BuildRequires: phpunit10 >= 10.3 Requires: php(language) >= 8.1 Requires: php-dom Requires: php-mbstring -# remirepo:1 -%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Requires: (php-composer(%{pk_vendor}/diff) >= 5.0 with php-composer(%{pk_vendor}/diff) < 6) Requires: (php-composer(%{pk_vendor}/exporter) >= 5.0 with php-composer(%{pk_vendor}/exporter) < 6) -# remirepo:4 -%else -Requires: php-sebastian-diff5 -Requires: php-sebastian-exporter5 -%endif # from phpcompatinfo report for version 5.0.0 Requires: php-date Requires: php-spl @@ -121,7 +107,7 @@ mkdir vendor : Run upstream test suite ret=0 -for cmd in php php81 php82 php83; do +for cmd in php php81 php82 php83 php84; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit10 --no-coverage || ret=1 @@ -135,13 +121,17 @@ exit $ret %files %doc README.md composer.json -# remirepo:1 -%{!?_licensedir:%global license %%doc} %license LICENSE %{php_home}/%{ns_vendor}/%{ns_project}%{major} %changelog +* Mon Aug 12 2024 Remi Collet <remi@remirepo.net> - 5.0.2-1 +- update to 5.0.2 + +* Tue Jan 30 2024 Remi Collet <remi@remirepo.net> - 5.0.1-4 +- add upstream patch for phpunit >= 10.4 FTBFS #2261508 + * Fri Aug 18 2023 Remi Collet <remi@remirepo.net> - 5.0.1-1 - update to 5.0.1 |