summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-token-stream3.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-02-02 09:46:56 +0100
committerRemi Collet <remi@remirepo.net>2018-02-02 09:46:56 +0100
commit85c9712714f22d8b5e30a43e5c8023f9e17e3906 (patch)
tree8b7f9e50e81f0012a792cb8926faef78ce57c1cb /php-phpunit-php-token-stream3.spec
parent774c778f318ecba54d87dd90bd53d77044fd7215 (diff)
update to 3.0.0
rename to php-phpunit-php-token-stream3 move to /usr/share/php/SebastianBergmann/PhpTokenStream3 raise dependency on PHP 7.1 use phpunit7 bootstrap build
Diffstat (limited to 'php-phpunit-php-token-stream3.spec')
-rw-r--r--php-phpunit-php-token-stream3.spec32
1 files changed, 20 insertions, 12 deletions
diff --git a/php-phpunit-php-token-stream3.spec b/php-phpunit-php-token-stream3.spec
index 0d9ce34..ebfc5e3 100644
--- a/php-phpunit-php-token-stream3.spec
+++ b/php-phpunit-php-token-stream3.spec
@@ -1,4 +1,4 @@
-# remirepo/fedora spec file for php-phpunit-php-token-stream2
+# remirepo/fedora spec file for php-phpunit-php-token-stream3
#
# Copyright (c) 2010-2015 Christof Damian, Remi Collet
#
@@ -7,14 +7,14 @@
#
# Please, preserve the changelog entries
#
-%global bootstrap 0
-%global gh_commit 791198a2c6254db10131eecfe8c06670700904db
+%global bootstrap 1
+%global gh_commit 21ad88bbba7c3d93530d93994e0a33cd45f02ace
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-token-stream
%global pk_vendor phpunit
%global pk_project %{gh_project}
-%global major 2
+%global major 3
%global php_home %{_datadir}/php
# Fake NS for directory layout
%global ns_vendor SebastianBergmann
@@ -26,8 +26,8 @@
%endif
Name: php-%{pk_vendor}-%{pk_project}%{major}
-Version: 2.0.2
-Release: 1%{?dist}
+Version: 3.0.0
+Release: 0%{?dist}
Summary: Wrapper around PHP tokenizer extension
Group: Development/Libraries
@@ -38,19 +38,19 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
%if %{with_tests}
-BuildRequires: php(language) >= 7.0
+BuildRequires: php(language) >= 7.1
BuildRequires: php-tokenizer
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "^6.2.4"
-BuildRequires: phpunit6 >= 6.2.4
+# "phpunit/phpunit": "^7.0"
+BuildRequires: phpunit7
BuildRequires: php-pcre
BuildRequires: php-spl
%endif
# from composer.json
-# "php": "^7.0",
+# "php": "^7.1",
# "ext-tokenizer": "*"
-Requires: php(language) >= 7.0
+Requires: php(language) >= 7.1
Requires: php-tokenizer
# from phpcompatinfo report for version 2.0.1
Requires: php-pcre
@@ -91,7 +91,7 @@ ret=0
for cmd in php php70 php71 php72; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \
- %{_bindir}/phpunit6 --verbose || ret=1
+ %{_bindir}/phpunit7 --verbose || ret=1
fi
done
exit $ret
@@ -110,6 +110,14 @@ exit $ret
%changelog
+* Fri Feb 2 2018 Remi Collet <remi@remirepo.net> - 3.0.0-0
+- update to 3.0.0
+- rename to php-phpunit-php-token-stream3
+- move to /usr/share/php/SebastianBergmann/PhpTokenStream3
+- raise dependency on PHP 7.1
+- use phpunit7
+- bootstrap build
+
* Tue Nov 28 2017 Remi Collet <remi@remirepo.net> - 2.0.2-1
- Update to 2.0.2