From a34699a9ee494af76147a0836e35e5bf5c7cbd14 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 25 Nov 2016 07:14:34 +0100 Subject: php-ast: fix License + add upstream patch for 7.1 --- php-ast.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-ast.spec') 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 - 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 - 0.1.2-1 - drop SCL stuff for Fedora review -- cgit