summaryrefslogtreecommitdiffstats
path: root/php-ast.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-ast.spec')
-rw-r--r--php-ast.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-ast.spec b/php-ast.spec
index 202ec19..2fb9585 100644
--- a/php-ast.spec
+++ b/php-ast.spec
@@ -21,12 +21,14 @@
Summary: Abstract Syntax Tree
Name: php-ast
Version: 0.1.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
Group: Development/Languages
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+Patch0: %{gh_project}-upstream.patch
+
BuildRequires: php-devel > 7
BuildRequires: php-tokenizer
@@ -44,6 +46,7 @@ This extension exposes the abstract syntax tree generated by PHP 7.
mv %{gh_project}-%{gh_commit} NTS
cd NTS
+%patch0 -p1 -b .upstream
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_AST_VERSION/{s/.* "//;s/".*$//;p}' php_ast.h)
@@ -143,6 +146,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Nov 25 2016 Remi Collet <remi@fedoraproject.org> - 0.1.2-2
+- fix LICENSE, drop empty file, from review #1398355
+- add upstream patch for php 7.1
+
* Thu Nov 24 2016 Remi Collet <remi@fedoraproject.org> - 0.1.2-1
- drop SCL stuff for Fedora review