Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Remi Collet
02b6cc3370 v4.13.1
(cherry picked from commit 13ba1a4645)
2021-11-04 07:32:51 +01:00
Remi Collet
f8cb1f4698 v4.13.0
(cherry picked from commit 2699736df1)
2021-09-22 09:44:38 +02:00
Remi Collet
04f25821c6 v4.12.0
(cherry picked from commit 8549b3bee7)
2021-07-22 07:37:12 +02:00
Remi Collet
0509b5cd6f v4.11.0
(cherry picked from commit 1aa66d69b7)
2021-07-05 08:45:08 +02:00
Remi Collet
1f9ffa9cb6 v4.10.5
(cherry picked from commit cfd82aa15a)
2021-05-04 07:51:07 +02:00
3 changed files with 32 additions and 10 deletions

5
.gitignore vendored
View file

@ -12,3 +12,8 @@ clog
/php-nikic-php-parser4-4.10.2-658f1be.tgz
/php-nikic-php-parser4-4.10.3-dbe56d2.tgz
/php-nikic-php-parser4-4.10.4-c6d052f.tgz
/php-nikic-php-parser4-4.10.5-4432ba3.tgz
/php-nikic-php-parser4-4.11.0-fe14cf3.tgz
/php-nikic-php-parser4-4.12.0-6608f01.tgz
/php-nikic-php-parser4-4.13.0-50953a2.tgz
/php-nikic-php-parser4-4.13.1-63a79e8.tgz

View file

@ -1,6 +1,6 @@
# remirepo/fedora spec file for php-nikic-php-parser4
#
# Copyright (c) 2016-2020 Remi Collet
# Copyright (c) 2016-2021 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
%global gh_commit c6d052fc58cb876152f89f532b95a8d7907e7f0e
%global gh_commit 63a79e8daa781cac14e5195e63ed8ae231dd10fd
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nikic
%global gh_project PHP-Parser
@ -21,7 +21,7 @@
%global major 4
Name: php-%{gh_owner}-%{pk_project}%{major}
Version: 4.10.4
Version: 4.13.1
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
@ -36,8 +36,8 @@ Patch0: %{name}-rpm.patch
BuildArch: noarch
%if %{with_tests}
# For tests
# as we use phpunit8
BuildRequires: php(language) >= 7.2
# as we use phpunit9
BuildRequires: php(language) >= 7.3
BuildRequires: php-tokenizer
BuildRequires: php-reflection
BuildRequires: php-ctype
@ -47,8 +47,8 @@ BuildRequires: php-spl
# From composer.json, "require-dev": {
# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0",
# "ircmaxell/php-yacc": "0.0.7"
%global phpunit %{_bindir}/phpunit8
BuildRequires: phpunit8
%global phpunit %{_bindir}/phpunit9
BuildRequires: phpunit9
# Autoloader
BuildRequires: php-fedora-autoloader-devel
%endif
@ -128,10 +128,11 @@ else
fi
ret=0
for cmdarg in "php %{phpunit}" "php72%{_bindir}/phpunit8" php73 php74 php80; do
for cmdarg in "php %{phpunit}" php73 php74 php80 php81; do
if which $cmdarg; then
set $cmdarg
$1 -d auto_prepend_file=%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php \
$1 -d include_path=%{php_home} \
-d auto_prepend_file=%{buildroot}/%{php_home}/%{ns_project}%{major}/autoload.php \
${2:-%{_bindir}/phpunit9} $FILTER --verbose || ret=1
fi
done
@ -150,6 +151,22 @@ exit $ret
%changelog
* Thu Nov 4 2021 Remi Collet <remi@remirepo.net> - 4.13.1-1
- update to 4.13.1
* Tue Sep 21 2021 Remi Collet <remi@remirepo.net> - 4.13.0-1
- update to 4.13.0
* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 4.12.0-1
- update to 4.12.0
* Mon Jul 5 2021 Remi Collet <remi@remirepo.net> - 4.11.0-1
- update to 4.11.0
- switch to phpunit9
* Tue May 4 2021 Remi Collet <remi@remirepo.net> - 4.10.5-1
- update to 4.10.5
* Mon Dec 21 2020 Remi Collet <remi@remirepo.net> - 4.10.4-1
- update to 4.10.4

View file

@ -1 +1 @@
SHA512 (php-nikic-php-parser4-4.10.4-c6d052f.tgz) = dcf22d719c5ff3e7e162a751aeaf18fce97d320e79e1c659a7efe30b2de55ebb4efd06a8bb944985400ef00db5c7cb7a611dfd7a4c95fde4c861af51936b426d
SHA512 (php-nikic-php-parser4-4.13.1-63a79e8.tgz) = 05e20b26e2e0d9f149ef431e095d06e51d31370ef095f6fcdfb3b6855098e175d4963695774d6858a7d64765f1046718997ce29068c12a18173905d3712cc471