summaryrefslogtreecommitdiffstats
path: root/php-nikic-php-parser4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-nikic-php-parser4.spec')
-rw-r--r--php-nikic-php-parser4.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-nikic-php-parser4.spec b/php-nikic-php-parser4.spec
index 2d5fdcd..4ea75df 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 97e59c7a16464196a8b9c77c47df68e4a39a45c4
+%global gh_commit b76bbc3c51f22c570648de48e8c2d941ed5e2cf2
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nikic
%global gh_project PHP-Parser
@@ -21,13 +21,14 @@
%global major 4
Name: php-%{gh_owner}-%{pk_project}%{major}
-Version: 4.2.4
+Version: 4.2.5
Release: 1%{?dist}
Summary: A PHP parser written in PHP - version %{major}
License: BSD
URL: https://github.com/%{gh_owner}/%{gh_project}
-Source: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
+Source0: %{name}-%{version}-%{gh_short}.tgz
+Source1: makesrc.sh
# Autoloader
Patch0: %{name}-rpm.patch
@@ -43,7 +44,8 @@ BuildRequires: php-json
BuildRequires: php-pcre
BuildRequires: php-spl
# From composer.json, "require-dev": {
-# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0"
+# "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0",
+# "ircmaxell/php-yacc": "0.0.4"
# remirepo:1
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
%global phpunit %{_bindir}/phpunit8
@@ -76,7 +78,7 @@ Provides: php-composer(%{gh_owner}/%{pk_project}) = %{version}
%description
-This is a PHP 5.2 to PHP 7.2 parser written in PHP.
+This is a PHP 5.2 to PHP 7.4 parser written in PHP.
Its purpose is to simplify static code analysis and manipulation.
This package provides the library version %{major} and the php-parse%{major} command.
@@ -155,6 +157,10 @@ exit $ret
%changelog
+* Mon Oct 28 2019 Remi Collet <remi@remirepo.net> - 4.2.5-1
+- update to 4.2.5
+- sources from git snapshot
+
* Mon Sep 2 2019 Remi Collet <remi@remirepo.net> - 4.2.4-1
- update to 4.2.4