diff --git a/.gitignore b/.gitignore index 7cf493d..1f426b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /php-nikic-php-parser4-4.0.0-9c18e3d.tar.gz /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 diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec index 8874d42..5553e26 100644 --- a/php-nikic-php-parser4.spec +++ b/php-nikic-php-parser4.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 35b8caf75e791ba1b2d24fec1552168d72692b12 +%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.2 +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 @@ -122,7 +117,7 @@ sed -e 's:@BUILDROOT@:%{buildroot}:' -i test/bootstrap.php : Upstream test suite ret=0 -for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72; do +for cmdarg in "php %{phpunit}" "php70 %{_bindir}/phpunit6" php71 php72 php73; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit7} --verbose || ret=1 @@ -135,7 +130,6 @@ exit $ret %files -%{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json %doc *.md @@ -144,6 +138,12 @@ exit $ret %changelog +* Tue Sep 18 2018 Remi Collet - 4.0.4-1 +- update to 4.0.4 + +* Mon Jul 16 2018 Remi Collet - 4.0.3-1 +- update to 4.0.3 + * Mon Jun 4 2018 Remi Collet - 4.0.2-1 - update to 4.0.2 diff --git a/sources b/sources index 6b270ff..176b6c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (php-nikic-php-parser4-4.0.2-35b8caf.tar.gz) = 509296f18cc62806019cb05cd350a71adfa0470f220df6205a272afe85205ea49c58b1552805a5337ce71fe55d7259f272095106780ce103443a243b6a439461 +SHA512 (php-nikic-php-parser4-4.0.4-fa6ee28.tar.gz) = e65bdab683588f1e314cbda7745b7cec90c205d3a8d5992c42764af03abb6bef3686e894c92165fb4bea15387d5afb23000cf4f1ffba75bd5dcffb434b9bdc4f