From f39b395c5b13310dd5a0b60d4be79786d6917f07 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Aug 2023 12:00:45 +0200 Subject: [PATCH] v3.0.1 enable test suite --- .gitignore | 1 + php-phpunit-php-text-template3.spec | 15 +++++++++------ sources | 2 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8023e25..90ea8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /php-phpunit-php-text-template3-3.0.0-9f3d370.tgz +/php-phpunit-php-text-template3-3.0.1-0c7b06f.tgz diff --git a/php-phpunit-php-text-template3.spec b/php-phpunit-php-text-template3.spec index 211bf50..682eece 100644 --- a/php-phpunit-php-text-template3.spec +++ b/php-phpunit-php-text-template3.spec @@ -7,10 +7,9 @@ # Please, preserve the changelog entries # -# disabled until phpunit10 available -%bcond_with tests +%bcond_without tests -%global gh_commit 9f3d3709577a527025f55bcf0f7ab8052c8bb37d +%global gh_commit 0c7b06ff49e3d5072f057eb1fa59258bf287a748 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-text-template @@ -24,8 +23,8 @@ %global ver_major 3 Name: php-%{pk_vendor}-%{pk_project}%{ver_major} -Version: 3.0.0 -Release: 2%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Simple template engine, version %{ver_major} License: BSD-3-Clause @@ -82,7 +81,7 @@ mkdir vendor : Run upstream test suite ret=0 -for cmd in php php81 php82; do +for cmd in php php81 php82 php83; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \ %{_bindir}/phpunit10 || ret=1 @@ -101,6 +100,10 @@ exit $ret %changelog +* Fri Sep 1 2023 Remi Collet - 3.0.1-1 +- update to 3.0.1 +- Enable test suite + * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 816727b..a4e35c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpunit-php-text-template3-3.0.0-9f3d370.tgz) = f2ee02cbd30d8c2d871ed9bc4670b3b62ca803fce9cb900753395bc5caf4c737632742a08cd39089cef27f7018f0908d47d6672ffbf0931f2c51936d3f13f9ce +SHA512 (php-phpunit-php-text-template3-3.0.1-0c7b06f.tgz) = 5803f1ea3d48cf22582a6a15ce7b51011d7194d13eedb287b5ddc6d962c27765630ec7332e3dc6a00b32074c9eba4ee61dc73e6a74d5f8a03807999b9676f366