summaryrefslogtreecommitdiffstats
path: root/phan.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phan.spec')
-rw-r--r--phan.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/phan.spec b/phan.spec
index 2c2f315..fca13bc 100644
--- a/phan.spec
+++ b/phan.spec
@@ -10,14 +10,14 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit b15141e68e1eb954aba9e30d3875ad91af6ac951
+%global gh_commit ba01d4a56fcb2019d79dc7ce63dc0151d1cc41f7
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phan
#global gh_date 20150820
%global gh_project phan
%global psr0 Phan
-%global with_tests 0%{!?_without_tests:1}
-%global upstream_version 3.0.3
+%bcond_without tests
+%global upstream_version 3.0.4
#global upstream_prever RC2
Name: %{gh_project}
@@ -34,7 +34,7 @@ Source1: makesrc.sh
Patch0: %{name}-autoload.patch
BuildArch: noarch
-%if %{with_tests}
+%if %{with tests}
BuildRequires: php(language) >= 7.2
BuildRequires: php-ast >= 1.0.6
# remirepo:1
@@ -220,7 +220,7 @@ install -Dpm 755 phan_client %{buildroot}%{_bindir}/phan-client
%check
-%if %{with_tests}
+%if %{with tests}
cat << 'EOF' | tee tests/autoload.php
<?php
require '%{buildroot}%{_datadir}/php/%{psr0}/Phan/Bootstrap.php';
@@ -249,6 +249,9 @@ EOF
%changelog
+* Thu Jul 2 2020 Remi Collet <remi@remirepo.net> - 3.0.4-1
+- update to 3.0.4
+
* Mon Jun 22 2020 Remi Collet <remi@remirepo.net> - 3.0.3-1
- update to 3.0.3