From 50892b13931ae4df47590dac3c07f5344146f089 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Jun 2020 07:52:38 +0200 Subject: [PATCH] v2.0.2 --- .gitignore | 1 + php-phpunit-php-text-template2.spec | 17 ++++++++++------- sources | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6214c7f..5b7f8b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /php-phpunit-php-text-template2-2.0.0-526dc99.tar.gz /php-phpunit-php-text-template2-2.0.1-0c69cbf.tgz +/php-phpunit-php-text-template2-2.0.2-6ff9c8e.tgz diff --git a/php-phpunit-php-text-template2.spec b/php-phpunit-php-text-template2.spec index 4780d2b..840eba8 100644 --- a/php-phpunit-php-text-template2.spec +++ b/php-phpunit-php-text-template2.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 0c69cbf965d5317ba33f24a352539f354a25db09 +%global gh_commit 6ff9c8ea4d3212b88fcf74e25e516e2c51c99324 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-text-template @@ -21,13 +21,13 @@ %global ver_major 2 %if %{bootstrap} -%global with_tests 0%{?_with_tests:1} +%bcond_with tests %else -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %endif Name: php-%{pk_vendor}-%{pk_project}%{ver_major} -Version: 2.0.1 +Version: 2.0.2 Release: 1%{?dist} Summary: Simple template engine @@ -40,14 +40,14 @@ BuildArch: noarch BuildRequires: php(language) >= 7.3 BuildRequires: php-cli BuildRequires: php-fedora-autoloader-devel -%if %{with_tests} +%if %{with tests} # From composer.json, require-dev # "phpunit/phpunit": "^9.0" BuildRequires: phpunit9 %endif # From composer.json -# "php": "^7.3" +# "php": "^7.3 || ^8.0" Requires: php(language) >= 7.3 # From phpcompatinfo report for version 2.0.0 Requires: php-spl @@ -73,7 +73,7 @@ mkdir -p %{buildroot}%{php_home}/%{ns_vendor} cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major} -%if %{with_tests} +%if %{with tests} %check : Generate tests autoloader mkdir vendor @@ -100,6 +100,9 @@ exit $ret %changelog +* Mon Jun 29 2020 Remi Collet - 2.0.2-1 +- update to 2.0.2 + * Tue Jun 16 2020 Remi Collet - 2.0.1-1 - update to 2.0.1 - sources from git snapshot diff --git a/sources b/sources index b45d1f1..08c5791 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpunit-php-text-template2-2.0.1-0c69cbf.tgz) = 42521824d3cd084b23dc47ee55cecd8806878386477d4b165086dee52b06c23422661954c671bd089564452ee1e34735e071223e4defc9fc31d938208dcff2c2 +SHA512 (php-phpunit-php-text-template2-2.0.2-6ff9c8e.tgz) = 6731d1dfcb0896f1edc749785b7b894b765b01b76b9823a4e574cb67612fe56be6a2a514b23e644eaff0fa4bf60b790080a222c928e3ce8ba439b1ef90d2f320