diff --git a/.gitignore b/.gitignore index 3ed188b..2681551 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-brick-math-0.9.1-283a40c.tgz /php-brick-math-0.9.2-dff976c.tgz /php-brick-math-0.9.3-ca57d18.tgz +/php-brick-math-0.10.0-4da1235.tgz diff --git a/php-brick-math.spec b/php-brick-math.spec index 67044c9..7d4b8e1 100644 --- a/php-brick-math.spec +++ b/php-brick-math.spec @@ -10,7 +10,7 @@ %bcond_without tests # Github -%global gh_commit ca57d18f028f84f777b2168cd1911b0dee2343ae +%global gh_commit 4da12356b27546867630ce14cc6b961827bff64e %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner brick %global gh_project math @@ -22,8 +22,8 @@ %global ns_project Math Name: php-%{pk_vendor}-%{pk_name} -Version: 0.9.3 -Release: 2%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Arbitrary-precision arithmetic library License: MIT @@ -34,30 +34,25 @@ Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 7.1 +BuildRequires: php(language) >= 7.4 BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-bcmath BuildRequires: php-gmp # From composer.json, "require-dev": { -# "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", +# "phpunit/phpunit": "^9.0", # "php-coveralls/php-coveralls": "^2.2", # "vimeo/psalm": "^3.5" %if %{with tests} -%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 BuildRequires: phpunit9 %global phpunit %{_bindir}/phpunit9 -%else -BuildRequires: phpunit8 >= 8.5 -%global phpunit %{_bindir}/phpunit8 -%endif %endif # Autoloader BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": "^7.1 || ^8.0", +# "php": "^7.4 || ^8.0", # "ext-json": "*" Requires: php(language) >= 7.1 Requires: php-json @@ -112,7 +107,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}" php73 php74 php80 php81; do + for cmdarg in "php %{phpunit}" php74 php80 php81 php82; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} \ @@ -133,6 +128,10 @@ exit $ret %changelog +* Mon Jun 20 2022 Remi Collet - 0.10.0-1 +- update to 0.10.0 +- raise dependency on PHP 7.4 + * Fri Jan 21 2022 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 1f5086c..445a6b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-brick-math-0.9.3-ca57d18.tgz) = 4f11072606b7fbc1bbf79a00fb6d9ebd592914f88fb2393b215d0a8e5b3aaac6251bf65670c954c5c8ecb29bd2dfe9858cebeadf75e9ccb0755f8b9b98035bdb +SHA512 (php-brick-math-0.10.0-4da1235.tgz) = 2871e9199999fdd8b25e9e43a6b5ee0172da5eed689ccb708200db54c26a6c0ea2ad03a07b870a481132cc6281ff4609b0badf06d59c37faf0a9f1930dfa44cb