summaryrefslogtreecommitdiffstats
path: root/phan.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-10 15:57:20 +0200
committerRemi Collet <remi@remirepo.net>2018-09-10 15:57:20 +0200
commit2d1ffe9ccd48beca030d5ed50c9ca2940eeefe5b (patch)
treee62bdc1df9a5fc178892b7639c5c60bc2244669c /phan.spec
parentf54a608a8280ac96f04afdb5fa748ffb14fc5a3b (diff)
update to 1.0.4
add the upstream plugins raise dependency on felixfbecker/advanced-json-rpc 3.0.3
Diffstat (limited to 'phan.spec')
-rw-r--r--phan.spec22
1 files changed, 15 insertions, 7 deletions
diff --git a/phan.spec b/phan.spec
index 7160d2e..9a62142 100644
--- a/phan.spec
+++ b/phan.spec
@@ -10,7 +10,7 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit b92c6a497e79f25f04af649f0fd677993888f88e
+%global gh_commit d1573162443915fca6e7cd4add15af77ab168525
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phan
#global gh_date 20150820
@@ -19,7 +19,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: %{gh_project}
-Version: 1.0.3
+Version: 1.0.4
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: A static analyzer for PHP
@@ -38,7 +38,7 @@ BuildRequires: php-ast >= 0.1.5
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2)
BuildRequires: (php-composer(composer/xdebug-handler) >= 1.3 with php-composer(composer/xdebug-handler) < 2)
-BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0 with php-composer(felixfbecker/advanced-json-rpc) < 4)
+BuildRequires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3 with php-composer(felixfbecker/advanced-json-rpc) < 4)
BuildRequires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.13 with php-composer(microsoft/tolerant-php-parser) < 1)
BuildRequires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6)
BuildRequires: (php-composer(symfony/console) >= 2.8 with php-composer(symfony/console) < 5)
@@ -49,7 +49,7 @@ BuildRequires: php-composer(composer/semver) >= 1.4
BuildRequires: php-composer(composer/xdebug-handler) < 2
BuildRequires: php-composer(composer/xdebug-handler) >= 1.3
BuildRequires: php-composer(felixfbecker/advanced-json-rpc) < 4
-BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0
+BuildRequires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3
BuildRequires: php-composer(microsoft/tolerant-php-parser) < 1
BuildRequires: php-composer(microsoft/tolerant-php-parser) >= 0.0.13
BuildRequires: php-composer(sabre/event) < 6
@@ -83,7 +83,7 @@ BuildRequires: php-composer(fedora/autoloader)
# "ext-json": "*",
# "composer/semver": "^1.4",
# "composer/xdebug-handler": "^1.3",
-# "felixfbecker/advanced-json-rpc": "^3.0",
+# "felixfbecker/advanced-json-rpc": "^3.0.3",
# "microsoft/tolerant-php-parser": "0.0.13",
# "sabre/event": "^5.0",
# "symfony/console": "~2.3|~3.0|~4.0"
@@ -95,7 +95,7 @@ Requires: php-json
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(composer/semver) >= 1.4 with php-composer(composer/semver) < 2)
Requires: (php-composer(composer/xdebug-handler) >= 1.3 with php-composer(composer/xdebug-handler) < 2)
-Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0 with php-composer(felixfbecker/advanced-json-rpc) < 4)
+Requires: (php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3 with php-composer(felixfbecker/advanced-json-rpc) < 4)
Requires: (php-composer(nikic/php-parser) >= 3.1.1 with php-composer(nikic/php-parser) < 4)
Requires: (php-composer(microsoft/tolerant-php-parser) >= 0.0.13 with php-composer(microsoft/tolerant-php-parser) < 1)
Requires: (php-composer(sabre/event) >= 5.0 with php-composer(sabre/event) < 6)
@@ -107,7 +107,7 @@ Requires: php-composer(composer/semver) >= 1.4
Requires: php-composer(composer/xdebug-handler) < 2
Requires: php-composer(composer/xdebug-handler) >= 1.3
Requires: php-composer(felixfbecker/advanced-json-rpc) < 4
-Requires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0
+Requires: php-composer(felixfbecker/advanced-json-rpc) >= 3.0.3
Requires: php-composer(microsoft/tolerant-php-parser) < 1
Requires: php-composer(microsoft/tolerant-php-parser) >= 0.0.13
Requires: php-composer(sabre/event) < 6
@@ -178,6 +178,9 @@ chmod +x src/phan.php
mkdir -p %{buildroot}%{_datadir}/php/
cp -pr src %{buildroot}%{_datadir}/php/%{psr0}
+: Plugins
+cp -pr .phan/plugins %{buildroot}%{_datadir}/php/%{psr0}/plugins
+
: Commands
mkdir -p %{buildroot}%{_bindir}
ln -s ../share/php/%{psr0}/phan.php %{buildroot}%{_bindir}/phan
@@ -211,6 +214,11 @@ EOF
%changelog
+* Mon Sep 10 2018 Remi Collet <remi@remirepo.net> - 1.0.4-1
+- update to 1.0.4
+- add the upstream plugins
+- raise dependency on felixfbecker/advanced-json-rpc 3.0.3
+
* Sat Sep 8 2018 Remi Collet <remi@remirepo.net> - 1.0.3-1
- update to 1.0.3