v4.0.4
This commit is contained in:
parent
aa670b2747
commit
eedf82bf7b
3 changed files with 7 additions and 9 deletions
|
|
@ -10,7 +10,7 @@
|
|||
# For compatibility with SCL
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
%global gh_commit bd088dc940a418f09cda079a9b5c7c478890fb8d
|
||||
%global gh_commit fa6ee28600d21d49b2b4e1006b48426cec8e579c
|
||||
%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.0.3
|
||||
Version: 4.0.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A PHP parser written in PHP - version %{major}
|
||||
|
||||
|
|
@ -44,13 +44,8 @@ BuildRequires: php-pcre
|
|||
BuildRequires: php-spl
|
||||
# From composer.json, "require-dev": {
|
||||
# "phpunit/phpunit": "^6.5 || ^7.0"
|
||||
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
|
||||
%global phpunit %{_bindir}/phpunit7
|
||||
BuildRequires: phpunit7
|
||||
%else
|
||||
%global phpunit %{_bindir}/phpunit6
|
||||
BuildRequires: phpunit6 >= 6.5
|
||||
%endif
|
||||
# Autoloader
|
||||
BuildRequires: php-composer(fedora/autoloader)
|
||||
%endif
|
||||
|
|
@ -135,7 +130,6 @@ exit $ret
|
|||
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%doc composer.json
|
||||
%doc *.md
|
||||
|
|
@ -144,6 +138,9 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 18 2018 Remi Collet <remi@remirepo.net> - 4.0.4-1
|
||||
- update to 4.0.4
|
||||
|
||||
* Mon Jul 16 2018 Remi Collet <remi@remirepo.net> - 4.0.3-1
|
||||
- update to 4.0.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue