Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02b6cc3370 | ||
|
|
f8cb1f4698 | ||
|
|
04f25821c6 | ||
|
|
0509b5cd6f | ||
|
|
1f9ffa9cb6 |
3 changed files with 32 additions and 10 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -12,3 +12,8 @@ clog
|
||||||
/php-nikic-php-parser4-4.10.2-658f1be.tgz
|
/php-nikic-php-parser4-4.10.2-658f1be.tgz
|
||||||
/php-nikic-php-parser4-4.10.3-dbe56d2.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.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
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# remirepo/fedora spec file for php-nikic-php-parser4
|
# 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
|
# License: CC-BY-SA
|
||||||
# http://creativecommons.org/licenses/by-sa/4.0/
|
# http://creativecommons.org/licenses/by-sa/4.0/
|
||||||
#
|
#
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# For compatibility with SCL
|
# For compatibility with SCL
|
||||||
%undefine __brp_mangle_shebangs
|
%undefine __brp_mangle_shebangs
|
||||||
|
|
||||||
%global gh_commit c6d052fc58cb876152f89f532b95a8d7907e7f0e
|
%global gh_commit 63a79e8daa781cac14e5195e63ed8ae231dd10fd
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_owner nikic
|
%global gh_owner nikic
|
||||||
%global gh_project PHP-Parser
|
%global gh_project PHP-Parser
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
%global major 4
|
%global major 4
|
||||||
|
|
||||||
Name: php-%{gh_owner}-%{pk_project}%{major}
|
Name: php-%{gh_owner}-%{pk_project}%{major}
|
||||||
Version: 4.10.4
|
Version: 4.13.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A PHP parser written in PHP - version %{major}
|
Summary: A PHP parser written in PHP - version %{major}
|
||||||
|
|
||||||
|
|
@ -36,8 +36,8 @@ Patch0: %{name}-rpm.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
# For tests
|
# For tests
|
||||||
# as we use phpunit8
|
# as we use phpunit9
|
||||||
BuildRequires: php(language) >= 7.2
|
BuildRequires: php(language) >= 7.3
|
||||||
BuildRequires: php-tokenizer
|
BuildRequires: php-tokenizer
|
||||||
BuildRequires: php-reflection
|
BuildRequires: php-reflection
|
||||||
BuildRequires: php-ctype
|
BuildRequires: php-ctype
|
||||||
|
|
@ -47,8 +47,8 @@ BuildRequires: php-spl
|
||||||
# From composer.json, "require-dev": {
|
# From composer.json, "require-dev": {
|
||||||
# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0",
|
# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0",
|
||||||
# "ircmaxell/php-yacc": "0.0.7"
|
# "ircmaxell/php-yacc": "0.0.7"
|
||||||
%global phpunit %{_bindir}/phpunit8
|
%global phpunit %{_bindir}/phpunit9
|
||||||
BuildRequires: phpunit8
|
BuildRequires: phpunit9
|
||||||
# Autoloader
|
# Autoloader
|
||||||
BuildRequires: php-fedora-autoloader-devel
|
BuildRequires: php-fedora-autoloader-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -128,10 +128,11 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ret=0
|
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
|
if which $cmdarg; then
|
||||||
set $cmdarg
|
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
|
${2:-%{_bindir}/phpunit9} $FILTER --verbose || ret=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
@ -150,6 +151,22 @@ exit $ret
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 21 2020 Remi Collet <remi@remirepo.net> - 4.10.4-1
|
||||||
- update to 4.10.4
|
- update to 4.10.4
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (php-nikic-php-parser4-4.10.4-c6d052f.tgz) = dcf22d719c5ff3e7e162a751aeaf18fce97d320e79e1c659a7efe30b2de55ebb4efd06a8bb944985400ef00db5c7cb7a611dfd7a4c95fde4c861af51936b426d
|
SHA512 (php-nikic-php-parser4-4.13.1-63a79e8.tgz) = 05e20b26e2e0d9f149ef431e095d06e51d31370ef095f6fcdfb3b6855098e175d4963695774d6858a7d64765f1046718997ce29068c12a18173905d3712cc471
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue