summaryrefslogtreecommitdiffstats
path: root/php-pecl-handlebars.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-handlebars.spec')
-rw-r--r--php-pecl-handlebars.spec15
1 files changed, 7 insertions, 8 deletions
diff --git a/php-pecl-handlebars.spec b/php-pecl-handlebars.spec
index 6644954..ee00b33 100644
--- a/php-pecl-handlebars.spec
+++ b/php-pecl-handlebars.spec
@@ -21,22 +21,19 @@
%endif
%global with_tests 0%{!?_without_tests:1}
-%global upstream_version 0.8.2
+%global upstream_version 0.8.3
#global upstream_prever RC2
Summary: Handlebars templating language
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 4%{?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;')}}
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-devel >= 5.6
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: libhandlebars-devel
BuildRequires: libtalloc-devel
@@ -116,8 +113,6 @@ 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)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -280,6 +275,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Mon Nov 12 2018 Remi Collet <remi@remirepo.net> - 0.8.3-1
+- update to 0.8.3
+- raise dependency on PHP 5.6
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 0.8.2-4
- rebuild for 7.3.0beta2 new ABI