diff options
-rw-r--r-- | composer.json | 6 | ||||
-rw-r--r-- | php-brick-math.spec | 25 |
2 files changed, 18 insertions, 13 deletions
diff --git a/composer.json b/composer.json index f400aa4..ad1dfe0 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ ], "license": "MIT", "require": { - "php": "^8.1" + "php": "^8.2" }, "require-dev": { - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^11.5", "php-coveralls/php-coveralls": "^2.2", - "vimeo/psalm": "6.8.8" + "phpstan/phpstan": "2.1.22" }, "autoload": { "psr-4": { diff --git a/php-brick-math.spec b/php-brick-math.spec index 2e7fbc7..3049981 100644 --- a/php-brick-math.spec +++ b/php-brick-math.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit fc7ed316430118cc7836bf45faff18d5dfc8de04 +%global gh_commit 113a8ee2656b882d4c3164fa31aa6e12cbb7aaa2 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner brick %global gh_project math @@ -22,7 +22,7 @@ %global ns_project Math Name: php-%{pk_vendor}-%{pk_name} -Version: 0.13.1 +Version: 0.14.0 Release: 1%{?dist} Summary: Arbitrary-precision arithmetic library @@ -34,23 +34,23 @@ Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 8.1 +BuildRequires: php(language) >= 8.2 BuildRequires: php-bcmath BuildRequires: php-gmp # From composer.json, "require-dev": { -# "phpunit/phpunit": "^10.1", +# "phpunit/phpunit": "^11.5", # "php-coveralls/php-coveralls": "^2.2", -# "vimeo/psalm": "^6.8.8" +# "phpstan/phpstan": "2.1.22" %if %{with tests} -BuildRequires: phpunit10 >= 10.1 -%global phpunit %{_bindir}/phpunit10 +BuildRequires: phpunit11 >= 11.5 +%global phpunit %{_bindir}/phpunit11 %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": "^8.0" -Requires: php(language) >= 8.1 +# "php": "^8.2" +Requires: php(language) >= 8.2 # From phpcompatifo report for 0.9.1 # Only pcre and spl # See Brick\Math\Internal\Calculator::detect() @@ -101,7 +101,7 @@ ret=0 # don't test Native with is terribly slow, as bcmath/gmp are set as mandatory for calc in GMP BCMath; do export CALCULATOR=$calc - for cmdarg in "php %{phpunit}" php81 php82 php83 php84; do + for cmdarg in "php %{phpunit}" php82 php83 php84 php85; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit10} \ @@ -122,6 +122,11 @@ exit $ret %changelog +* Mon Sep 1 2025 Remi Collet <remi@remirepo.net> - 0.14.0-1 +- update to 0.14.0 +- raise dependency on PHP 8.2 +- switch to phpunit11 + * Mon Apr 7 2025 Remi Collet <remi@remirepo.net> - 0.13.1-1 - update to 0.13.1 |