diff --git a/.gitignore b/.gitignore index 76dc5a2..5e13f82 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /php-phpunit-php-token-stream4-4.0.0-b2560a0.tar.gz /php-phpunit-php-token-stream4-4.0.1-cdc0db5.tgz /php-phpunit-php-token-stream4-4.0.2-e61c593.tgz +/php-phpunit-php-token-stream4-4.0.3-5672711.tgz diff --git a/php-phpunit-php-token-stream4.spec b/php-phpunit-php-token-stream4.spec index f869bce..e028a3a 100644 --- a/php-phpunit-php-token-stream4.spec +++ b/php-phpunit-php-token-stream4.spec @@ -8,7 +8,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit e61c593e9734b47ef462340c24fca8d6a57da14e +%global gh_commit 5672711b6b07b14d5ab694e700c62eeb82fcf374 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-token-stream @@ -20,13 +20,13 @@ %global ns_vendor SebastianBergmann %global ns_project PhpTokenStream %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}%{major} -Version: 4.0.2 +Version: 4.0.3 Release: 1%{?dist} Summary: Wrapper around PHP tokenizer extension @@ -37,7 +37,7 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php-fedora-autoloader-devel -%if %{with_tests} +%if %{with tests} BuildRequires: php(language) >= 7.3 BuildRequires: php-tokenizer BuildRequires: php-pcre @@ -48,7 +48,7 @@ BuildRequires: phpunit9 %endif # from composer.json -# "php": "^7.1", +# "php": "^7.3 || ^8.0", # "ext-tokenizer": "*" Requires: php(language) >= 7.3 Requires: php-tokenizer @@ -82,7 +82,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} %check -%if %{with_tests} +%if %{with tests} mkdir vendor touch vendor/autoload.php @@ -109,6 +109,9 @@ exit $ret %changelog +* Mon Jun 29 2020 Remi Collet - 4.0.3-1 +- update to 4.0.3 + * Tue Jun 16 2020 Remi Collet - 4.0.2-1 - update to 4.0.2 diff --git a/sources b/sources index 9140de1..526b04f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-phpunit-php-token-stream4-4.0.2-e61c593.tgz) = b4651df141f20a0b57a22ed0cfd6fefb6ee52465d682a88deb7dc69537f00bacb1e6cd15faad103c7b062d161ef857dbcc4310de76d2041b5c80f93b4948db88 +SHA512 (php-phpunit-php-token-stream4-4.0.3-5672711.tgz) = c6af1c1f131210ae114c60f05b33f21b6b9a1ba83c96e89c631788ab09ac38378e3ab2cd6e2e2d8c1313ce6f2553851136c0f8ca83f0c9013f861cf3da3f90bc