From a8020b09b055f7a60e4ab5e575ae12ceb4b59a04 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Apr 2021 17:03:09 +0200 Subject: update to 1.0.11 --- php-ast.spec | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'php-ast.spec') diff --git a/php-ast.spec b/php-ast.spec index 3289fc4..512bcfb 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-ast # -# Copyright (c) 2015-2020 Remi Collet +# Copyright (c) 2015-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -20,11 +20,11 @@ Summary: Abstract Syntax Tree Name: %{?scl_prefix}php-ast -Version: 1.0.10 +Version: 1.0.11 %if 0%{?gh_date:1} Release: 0.7.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} @@ -34,8 +34,9 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz %endif +BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel > 7 +BuildRequires: %{?scl_prefix}php-devel >= 7.0 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-tokenizer @@ -69,12 +70,6 @@ Obsoletes: php80-pecl-%{pecl_name} <= %{version} %endif %endif -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter shared private -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - %description This extension exposes the abstract syntax tree generated by PHP 7. @@ -229,6 +224,9 @@ fi %changelog +* Tue Apr 20 2021 Remi Collet - 1.0.11-1 +- update to 1.0.11 + * Wed Sep 30 2020 Remi Collet - 1.0.10-3 - rebuild for PHP 8.0.0RC1 -- cgit