From 1cd9f15a9c815b790208f803f9c3004012f915aa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 26 Jun 2018 09:42:43 +0200 Subject: add patch for PHP 7.3 from https://github.com/jbboehr/php-handlebars/pull/53 --- php-pecl-handlebars.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'php-pecl-handlebars.spec') diff --git a/php-pecl-handlebars.spec b/php-pecl-handlebars.spec index 721d84c..db2673a 100644 --- a/php-pecl-handlebars.spec +++ b/php-pecl-handlebars.spec @@ -27,11 +27,14 @@ Summary: Handlebars templating language Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +Patch0: https://patch-diff.githubusercontent.com/raw/jbboehr/php-handlebars/pull/53.patch + +BuildRequires: %{?dtsprefix}gcc # package.xml state 5.6, but upstream is ok with ignoring it BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -109,6 +112,7 @@ mv %{pecl_name}-%{upstream_version}%{?upstream_prever} NTS cd NTS +%patch0 -p1 -b .pr53 # Sanity check, really often broken extver=$(sed -n '/PHP_HANDLEBARS_VERSION/{s/.* "//;s/".*$//;p}' php_handlebars.h) @@ -272,6 +276,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Jun 26 2018 Remi Collet - 0.8.2-2 +- add patch for PHP 7.3 from + https://github.com/jbboehr/php-handlebars/pull/53 + * Tue Mar 6 2018 Remi Collet - 0.8.2-1 - update to 0.8.2 (stable) - add optional dependency on psr extension -- cgit