summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-06-29 07:44:13 +0200
committerRemi Collet <remi@remirepo.net>2020-06-29 07:44:13 +0200
commit9e79f8d52cf3d4ccf856f3f5c5444cd1f15c81b0 (patch)
treee9a333d33a2d5966d0aeb3cdbe468bd164bc8fdb
parent4658bb7dde9ae91b974d6a86ef04f12e5c12b8bc (diff)
update to 4.0.3
-rw-r--r--composer.json2
-rw-r--r--php-phpunit-php-token-stream4.spec17
2 files changed, 11 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index dddf196..e0d0b4d 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,7 @@
},
"prefer-stable": true,
"require": {
- "php": "^7.3",
+ "php": "^7.3 || ^8.0",
"ext-tokenizer": "*"
},
"require-dev": {
diff --git a/php-phpunit-php-token-stream4.spec b/php-phpunit-php-token-stream4.spec
index 74cf592..8baec60 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
@@ -111,6 +111,9 @@ exit $ret
%changelog
+* Mon Jun 29 2020 Remi Collet <remi@remirepo.net> - 4.0.3-1
+- update to 4.0.3
+
* Tue Jun 16 2020 Remi Collet <remi@remirepo.net> - 4.0.2-1
- update to 4.0.2