(cherry picked from commit eedf82bf7b)
This commit is contained in:
Remi Collet 2018-09-18 09:39:19 +02:00
commit 09543214a6
3 changed files with 7 additions and 9 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
/php-nikic-php-parser4-4.0.1-e4a54fa.tar.gz
/php-nikic-php-parser4-4.0.2-35b8caf.tar.gz
/php-nikic-php-parser4-4.0.3-bd088dc.tar.gz
/php-nikic-php-parser4-4.0.4-fa6ee28.tar.gz

View file

@ -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

View file

@ -1 +1 @@
SHA512 (php-nikic-php-parser4-4.0.3-bd088dc.tar.gz) = d3a27bd3e73fa5352920004096a158dc0ed35e1939af37653d38a1350c6e1a090332dcd86edf02a3f1d4043ab20e5cd87e6aab3ee0856ea15d2cf734869cc266
SHA512 (php-nikic-php-parser4-4.0.4-fa6ee28.tar.gz) = e65bdab683588f1e314cbda7745b7cec90c205d3a8d5992c42764af03abb6bef3686e894c92165fb4bea15387d5afb23000cf4f1ffba75bd5dcffb434b9bdc4f