summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-06-11 07:33:21 +0200
committerRemi Collet <remi@remirepo.net>2017-06-11 07:33:21 +0200
commit38b7ccfd7d682bf7a63942f463e9d4960c0d6d12 (patch)
tree2c33ea2aa662e03036f3742f2f59b63abdf0745e
parent41fd917959e64b945337af2444995f928bec0c8c (diff)
ignore min PHP version
-rw-r--r--php-pecl-mustache.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/php-pecl-mustache.spec b/php-pecl-mustache.spec
index 2223978..9a403e5 100644
--- a/php-pecl-mustache.spec
+++ b/php-pecl-mustache.spec
@@ -13,7 +13,11 @@
%global pecl_name mustache
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%if "%{php_version}" < "5.6"
+%global ini_name %{pecl_name}.ini
+%else
%global ini_name 40-%{pecl_name}.ini
+%endif
%global with_tests 0%{!?_without_tests:1}
%global upstream_version 0.7.4
@@ -28,7 +32,8 @@ Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
-BuildRequires: %{?scl_prefix}php-devel > 5.6
+# package.xml state 5.6, but upstream is ok with ignoring it
+BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: pkgconfig(mustache)
%if 0%{?rhel} == 7
@@ -236,8 +241,12 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Sun Jun 11 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC2-1
+- ignore minimal PHP version, see
+ https://github.com/jbboehr/php-mustache/pull/39
+
* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC2-1
-- update to 0.8.2RC2
+- update to 0.7.4RC2
- drop patches merged upstream
* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 0.7.4~RC1-2