diff options
-rw-r--r-- | php-doctrine-cache.spec | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/php-doctrine-cache.spec b/php-doctrine-cache.spec index 8a33b37..c5dc150 100644 --- a/php-doctrine-cache.spec +++ b/php-doctrine-cache.spec @@ -12,8 +12,8 @@ %global github_owner doctrine %global github_name cache -%global github_version 1.10.1 -%global github_commit 35a4a70cd94e09e2259dfae7488afc6b474ecbd3 +%global github_version 1.10.2 +%global github_commit 13e3381b25847283a91948d04640543941309727 %global composer_vendor doctrine %global composer_project cache @@ -22,7 +22,7 @@ %global php_min_ver 7.1 # Build using "--without tests" to disable tests -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %{!?phpdir: %global phpdir %{_datadir}/php} @@ -41,7 +41,7 @@ Source1: %{name}-get-source.sh BuildArch: noarch # Tests -%if %{with_tests} +%if %{with tests} ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: phpunit7 @@ -127,7 +127,7 @@ cp -rp lib/Doctrine/Common/Cache %{buildroot}%{phpdir}/Doctrine/Common/ %check -%if %{with_tests} +%if %{with tests} : Create tests bootstrap cat <<'BOOTSTRAP' | tee bootstrap.php <?php @@ -175,6 +175,9 @@ exit $RETURN_CODE %changelog +* Wed Jul 8 2020 Remi Collet <remi@remirepo.net> - 1.10.2-1 +- update to 1.10.2 + * Thu May 28 2020 Remi Collet <remi@remirepo.net> - 1.10.1-1 - update to 1.10.1 (no change) |