summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-PHPParser-command.patch11
-rw-r--r--php-PHPParser.spec9
2 files changed, 12 insertions, 8 deletions
diff --git a/php-PHPParser-command.patch b/php-PHPParser-command.patch
index 0a8cfd5..58850fa 100644
--- a/php-PHPParser-command.patch
+++ b/php-PHPParser-command.patch
@@ -1,7 +1,8 @@
-diff -up bin/php-parse.php.rpm bin/php-parse.php
---- bin/php-parse.php.rpm 2015-02-25 17:52:01.000000000 +0100
-+++ bin/php-parse.php 2015-02-25 17:52:55.000000000 +0100
-@@ -1,6 +1,8 @@
+diff -up ./bin/php-parse.php.rpm ./bin/php-parse.php
+--- ./bin/php-parse.php.rpm 2015-04-04 14:49:15.704865853 +0200
++++ ./bin/php-parse.php 2015-04-04 14:50:15.625104006 +0200
+@@ -1,7 +1,8 @@
+-#!/usr/bin/env php
+#!/usr/bin/php
<?php
@@ -9,5 +10,5 @@ diff -up bin/php-parse.php.rpm bin/php-parse.php
+require 'PhpParser/Autoloader.php';
+PhpParser\Autoloader::register();
- ini_set('xdebug.max_nesting_level', 2000);
+ ini_set('xdebug.max_nesting_level', 3000);
diff --git a/php-PHPParser.spec b/php-PHPParser.spec
index 0d12490..54d714e 100644
--- a/php-PHPParser.spec
+++ b/php-PHPParser.spec
@@ -11,8 +11,8 @@
%global github_owner nikic
%global github_name PHP-Parser
-%global github_version 1.1.0
-%global github_commit ac05ef6f95bf8361549604b6031c115f92f39528
+%global github_version 1.2.2
+%global github_commit 08f97eb4efa029e2fafb6d8c98b71731bf0cf621
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global lib_name PhpParser
@@ -22,7 +22,7 @@
Name: php-%{lib_name_old}
Version: %{github_version}
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: A PHP parser written in PHP
Group: Development/Libraries
@@ -106,6 +106,9 @@ install -Dpm 755 bin/php-parse.php %{buildroot}%{_bindir}/php-parse
%changelog
+* Sat Apr 4 2015 Remi Collet <remi@fedoraproject.org> - 1.2.2-1
+- update to 1.2.2
+
* Wed Feb 25 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-2
- provide the php-parse command