diff --git a/.gitignore b/.gitignore index 6fba993..2f956b1 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,9 @@ clog /php-mockery-1.6.2-13a7fa2.tgz /php-mockery-1.6.3-b1be135.tgz /php-mockery-1.6.4-d141375.tgz +/php-mockery-1.6.6-b8e0bb7.tgz +/php-mockery-1.6.7-0cc0588.tgz +/php-mockery-1.6.8-415720b.tgz +/php-mockery-1.6.9-0cc0588.tgz +/php-mockery-1.6.10-47065d1.tgz +/php-mockery-1.6.11-81a161d.tgz diff --git a/php-mockery.spec b/php-mockery.spec index b4ce395..df0288a 100644 --- a/php-mockery.spec +++ b/php-mockery.spec @@ -8,7 +8,7 @@ # %bcond_without tests -%global gh_commit d1413755e26fe56a63455f7753221c86cbb88f66 +%global gh_commit 81a161d0b135df89951abd52296adf97deb0723d %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner mockery %global gh_project mockery @@ -16,7 +16,7 @@ %global major 1 Name: php-mockery -Version: 1.6.4 +Version: 1.6.11 Release: 1%{?dist} Summary: Mockery is a simple but flexible PHP mock object framework @@ -30,14 +30,12 @@ Patch0: %{gh_project}-tests.patch BuildArch: noarch %if %{with tests} -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 7.3 # From composer.json, "require-dev": { -# "phpunit/phpunit": "^8.5|^9.3", -# "psalm/plugin-phpunit": "^0.18.4", -# "symplify/easy-coding-standard": "^11.5.0", -# "vimeo/psalm": "^5.13.1" +# "phpunit/phpunit": "^8.5 || ^9.6.17", +# "symplify/easy-coding-standard": "^12.1.4" %global phpunit %{_bindir}/phpunit9 -BuildRequires: phpunit9 >= 9.3 +BuildRequires: phpunit9 >= 9.6.17 BuildRequires: (php-composer(hamcrest/hamcrest-php) >= 2.0.1 with php-composer(hamcrest/hamcrest-php) < 3) BuildRequires: php-pdo # Autoloader @@ -45,7 +43,7 @@ BuildRequires: php-pdo BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.4,<8.3", +# "php": ">=7.3", # "lib-pcre": ">=7.0", # "hamcrest/hamcrest-php": "~2.0" Requires: php(language) >= 7.3 @@ -109,7 +107,7 @@ ret=0 # need investigation rm tests/Mockery/MockeryCanMockClassesWithSemiReservedWordsTest.php -for cmd in php php80 php81 php82; do +for cmd in php php81 php82 php83; do if which $cmd; then $cmd %{_bindir}/phpunit9 \ --no-coverage \ @@ -129,6 +127,24 @@ exit $ret %changelog +* Fri Mar 22 2024 Remi Collet - 1.6.11-1 +- update to 1.6.11 + +* Wed Mar 20 2024 Remi Collet - 1.6.10-1 +- update to 1.6.10 + +* Wed Mar 13 2024 Remi Collet - 1.6.9-1 +- update to 1.6.9 (revert to 1.6.7 code) + +* Tue Mar 12 2024 Remi Collet - 1.6.8-1 +- update to 1.6.8 + +* Mon Dec 11 2023 Remi Collet - 1.6.7-1 +- update to 1.6.7 + +* Thu Aug 24 2023 Remi Collet - 1.6.6-1 +- update to 1.6.6 + * Thu Jul 20 2023 Remi Collet - 1.6.4-1 - update to 1.6.4 diff --git a/sources b/sources index e9682ed..6cdc309 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-mockery-1.6.4-d141375.tgz) = 24348d7f8b6782aa824ac4c2d00ad1fd9fed6990b87710e9bb6c8daefe1598895762b8151f36bd6e1de7400cbea78a326b1b56430f3863dbd0f4e1d2b38682f7 +SHA512 (php-mockery-1.6.11-81a161d.tgz) = 8aa3f6766b92e259aa24f177672d1c7d8c6799c7d0982c9b4d08ee7ab0f36511d08e9a7c6925a612e80ec79fe1de233a4e76dee679de3e7b9c3bec9f8104271a