summaryrefslogtreecommitdiffstats
path: root/php-pecl-mustache.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-mustache.spec')
-rw-r--r--php-pecl-mustache.spec21
1 files changed, 13 insertions, 8 deletions
diff --git a/php-pecl-mustache.spec b/php-pecl-mustache.spec
index a6389b0..2223978 100644
--- a/php-pecl-mustache.spec
+++ b/php-pecl-mustache.spec
@@ -17,22 +17,20 @@
%global with_tests 0%{!?_without_tests:1}
%global upstream_version 0.7.4
-%global upstream_prever RC1
+%global upstream_prever RC2
Summary: Mustache templating language
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 2%{?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: MIT
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-Patch0: %{pecl_name}-pr34.patch
-
BuildRequires: %{?scl_prefix}php-devel > 5.6
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: libmustache-devel
+BuildRequires: pkgconfig(mustache)
%if 0%{?rhel} == 7
BuildRequires: devtoolset-6-toolchain
%else
@@ -94,7 +92,6 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p1
# Sanity check, really often broken
extver=$(sed -n '/PHP_MUSTACHE_VERSION/{s/.* "//;s/".*$//;p}' php_mustache.h)
@@ -239,9 +236,17 @@ REPORT_EXIT_STATUS=1 \
%changelog
-* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 0.8.2~RC1-2
+* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC2-1
+- update to 0.8.2RC2
+- drop patches merged upstream
+
+* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC1-2
- use GCC 6.2 from devtoolset-6 on EL-7
+- open https://github.com/jbboehr/php-mustache/pull/36 pkgconfig
+- open https://github.com/jbboehr/php-mustache/pull/37 php 7.2
+- open https://github.com/jbboehr/php-mustache/pull/38 warnings
-* Thu Jun 8 2017 Remi Collet <remi@remirepo.net> - 0.8.2~RC1-1
+* Thu Jun 8 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC1-1
- initial package
+- open https://github.com/jbboehr/php-mustache/pull/34 use cxx