summaryrefslogtreecommitdiffstats
path: root/phan.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phan.spec')
-rw-r--r--phan.spec21
1 files changed, 19 insertions, 2 deletions
diff --git a/phan.spec b/phan.spec
index 26b7f3e..abdbac3 100644
--- a/phan.spec
+++ b/phan.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 9a559221a31526ff2f09947800cd6cc4ba592ac9
+%global gh_commit af93901dba4cb00f7d6a2cd4c2a862d774a8b3b4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phan
#global gh_date 20150820
@@ -15,7 +15,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: %{gh_project}
-Version: 0.8.8
+Version: 0.8.9
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: A static analyzer for PHP
@@ -31,10 +31,14 @@ BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) >= 7.0
BuildRequires: php-ast
+BuildRequires: php-composer(felixfbecker/advanced-json-rpc) < 3
+BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 2.0
BuildRequires: php-composer(nikic/php-parser) < 4
BuildRequires: php-composer(nikic/php-parser) >= 3.1.1
BuildRequires: php-composer(symfony/console) < 4
BuildRequires: php-composer(symfony/console) >= 2.8
+BuildRequires: php-composer(sabre/event) < 6
+BuildRequires: php-composer(sabre/event) >= 5.0
BuildRequires: php-reflection
BuildRequires: php-dom
BuildRequires: php-filter
@@ -59,14 +63,20 @@ BuildRequires: php-composer(fedora/autoloader)
# From composer.json, "require": {
# "php": "~7.0.0 || ~7.1.0 || ~7.2.0",
# "ext-ast": "^0.1.4",
+# "felixfbecker/advanced-json-rpc": "^2.0",
# "nikic/PHP-Parser": "~3.1.1",
+# "sabre/event": "^5.0",
# "symfony/console": "~2.3|~3.0"
Requires: php(language) >= 7.0
Requires: php-ast
+Requires: php-composer(felixfbecker/advanced-json-rpc) < 3
+Requires: php-composer(felixfbecker/advanced-json-rpc) >= 2.0
Requires: php-composer(nikic/php-parser) < 4
Requires: php-composer(nikic/php-parser) >= 3.1.1
Requires: php-composer(symfony/console) < 4
Requires: php-composer(symfony/console) >= 2.3
+Requires: php-composer(sabre/event) < 6
+Requires: php-composer(sabre/event) >= 5.0
# From phpcompatinfo report for 0.8.4
Requires: php-cli
Requires: php-reflection
@@ -107,7 +117,9 @@ cat << 'EOF' | tee src/autoload.php
require_once '%{_datadir}/php/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Phan\\', __DIR__ . '/Phan');
\Fedora\Autoloader\Dependencies::required([
+ '%{_datadir}/php/AdvancedJsonRpc/autoload.php',
'%{_datadir}/php/PhpParser3/autoload.php',
+ '%{_datadir}/php/Sabre/Event5/autoload.php',
[
'%{_datadir}/php/Symfony3/Component/Console/autoload.php',
'%{_datadir}/php/Symfony/Component/Console/autoload.php',
@@ -161,6 +173,11 @@ EOF
%changelog
+* Sat Oct 21 2017 Remi Collet <remi@remirepo.net> - 0.8.9-1
+- Update to 0.8.9
+- add dependency on felixfbecker/advanced-json-rpc 2.0
+- add dependency on sabre/event 5.0
+
* Mon Sep 25 2017 Remi Collet <remi@remirepo.net> - 0.8.8-1
- Update to 0.8.8
- add dependency on nikic/php-parser 3.1.1