summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-11 13:49:58 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-11 13:49:58 +0200
commit675bb44a5c2bf4f1b72303317ff66af9d56dd6ae (patch)
treed7812770a528b4ac106dd4c6c178051edb784719
parentc5d8e0fbe97f55a36016d2e653395c7df4f947a6 (diff)
php-bartlett-PHP-CompatInfo: 3.1.0
-rw-r--r--php-bartlett-PHP-Reflect-3.0.0-rpm.patch29
-rw-r--r--php-bartlett-PHP-Reflect.spec7
2 files changed, 17 insertions, 19 deletions
diff --git a/php-bartlett-PHP-Reflect-3.0.0-rpm.patch b/php-bartlett-PHP-Reflect-3.0.0-rpm.patch
index fe0c321..ea2760a 100644
--- a/php-bartlett-PHP-Reflect-3.0.0-rpm.patch
+++ b/php-bartlett-PHP-Reflect-3.0.0-rpm.patch
@@ -1,6 +1,6 @@
diff -up ./bin/phpreflect.json.dist.rpm ./bin/phpreflect.json.dist
---- ./bin/phpreflect.json.dist.rpm 2015-04-04 15:15:47.860245093 +0200
-+++ ./bin/phpreflect.json.dist 2015-04-04 15:16:37.420443972 +0200
+--- ./bin/phpreflect.json.dist.rpm 2015-05-11 12:55:49.000000000 +0200
++++ ./bin/phpreflect.json.dist 2015-05-11 13:22:14.660514268 +0200
@@ -6,6 +6,19 @@
}
],
@@ -22,14 +22,9 @@ diff -up ./bin/phpreflect.json.dist.rpm ./bin/phpreflect.json.dist
"analysers": [
],
diff -up ./bin/phpreflect.rpm ./bin/phpreflect
---- ./bin/phpreflect.rpm 2015-04-03 08:47:14.000000000 +0200
-+++ ./bin/phpreflect 2015-04-04 15:21:07.510527397 +0200
-@@ -1,23 +1,39 @@
--#!/usr/bin/env php
-+#!/usr/bin/php
- <?php
- $appName = 'phpReflect';
-
+--- ./bin/phpreflect.rpm 2015-05-11 12:55:49.000000000 +0200
++++ ./bin/phpreflect 2015-05-11 13:24:26.130135886 +0200
+@@ -5,19 +5,35 @@ $appName = 'phpReflect';
if (\Phar::running()) {
$vendorDir = 'phar://' . strtolower($appName) . '.phar/vendor';
} else {
@@ -76,12 +71,12 @@ diff -up ./bin/phpreflect.rpm ./bin/phpreflect
Environment::setScanDir();
--$application = new Application($appName, '3.0');
+-$application = new Application($appName, '3.1');
+$application = new Application($appName, '@package_version@');
$application->run();
diff -up ./src/Bartlett/Reflect/Console/Application.php.rpm ./src/Bartlett/Reflect/Console/Application.php
---- ./src/Bartlett/Reflect/Console/Application.php.rpm 2015-04-03 08:47:14.000000000 +0200
-+++ ./src/Bartlett/Reflect/Console/Application.php 2015-04-04 15:15:24.203150166 +0200
+--- ./src/Bartlett/Reflect/Console/Application.php.rpm 2015-05-11 12:55:49.000000000 +0200
++++ ./src/Bartlett/Reflect/Console/Application.php 2015-05-11 13:22:14.661514273 +0200
@@ -82,7 +82,7 @@ class Application extends BaseApplicatio
$jsonFile = './' . getenv("BARTLETTRC");
}
@@ -92,8 +87,8 @@ diff -up ./src/Bartlett/Reflect/Console/Application.php.rpm ./src/Bartlett/Refle
$defaultAnalyser = (strcasecmp($appName, 'phpcompatinfo') === 0)
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
---- ./tests/bootstrap.php.rpm 2015-04-03 08:47:14.000000000 +0200
-+++ ./tests/bootstrap.php 2015-04-04 15:15:24.203150166 +0200
+--- ./tests/bootstrap.php.rpm 2015-05-11 12:55:49.000000000 +0200
++++ ./tests/bootstrap.php 2015-05-11 13:22:14.661514273 +0200
@@ -1,11 +1,9 @@
<?php
@@ -135,8 +130,8 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
+ require_once $file;
+}
diff -up ./tests/Environment/YourLogger.php.rpm ./tests/Environment/YourLogger.php
---- ./tests/Environment/YourLogger.php.rpm 2015-04-03 08:47:14.000000000 +0200
-+++ ./tests/Environment/YourLogger.php 2015-04-04 15:15:24.203150166 +0200
+--- ./tests/Environment/YourLogger.php.rpm 2015-05-11 12:55:49.000000000 +0200
++++ ./tests/Environment/YourLogger.php 2015-05-11 13:22:14.661514273 +0200
@@ -14,6 +14,7 @@ class YourLogger extends Logger
if (!file_exists($tempDir)) {
mkdir($tempDir, 0755, true);
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec
index 6456bbf..52176b7 100644
--- a/php-bartlett-PHP-Reflect.spec
+++ b/php-bartlett-PHP-Reflect.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit daa49a81e1ba8a7bea1af71e787285870dc3d2ba
+%global gh_commit c5c669565030b1d051dfa75feb49783ac6b9dfa9
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20150331
%global gh_owner llaville
@@ -20,7 +20,7 @@
%endif
Name: php-bartlett-PHP-Reflect
-Version: 3.0.1
+Version: 3.1.0
%global specrel 1
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Adds the ability to reverse-engineer PHP
@@ -191,6 +191,9 @@ fi
%changelog
+* Mon May 11 2015 Remi Collet <remi@fedoraproject.org> - 3.1.0-1
+- update to 3.1.0
+
* Thu Apr 16 2015 Remi Collet <remi@fedoraproject.org> - 3.0.1-1
- update to 3.0.1
- raise dependency on nikic/php-parser >= 1.2.2