summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-19 14:58:53 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-19 14:58:53 +0200
commit9c0bc8a9332ae2cf0a4d61054b93ed048dcabf03 (patch)
treeaef0ca488544b924e65f83424df1ccb5784e36cf
parent0aa363879c1735cbe56f67fc927b3806e513d266 (diff)
php-twig: 1.18.1
-rw-r--r--REFLECTION2
-rw-r--r--php-twig.spec19
2 files changed, 15 insertions, 6 deletions
diff --git a/REFLECTION b/REFLECTION
index 432509f..649b1b4 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #180 twig version 1.18.0 ] {
+Extension [ <persistent> extension #194 twig version 1.18.1 ] {
- Functions {
Function [ <internal:twig> function twig_template_get_attributes ] {
diff --git a/php-twig.spec b/php-twig.spec
index b4ca1e4..9e265f5 100644
--- a/php-twig.spec
+++ b/php-twig.spec
@@ -12,8 +12,10 @@
%global github_owner fabpot
%global github_name Twig
-%global github_version 1.18.0
-%global github_commit 4cf7464348e7f9893a93f7096a90b73722be99cf
+%global github_version 1.18.1
+%global github_commit 9f70492f44398e276d1b81c1b43adfe6751c7b7f
+%global github_short %(c=%{github_commit}; echo ${c:0:7})
+
# Lib
%global composer_vendor twig
@@ -28,8 +30,8 @@
%global ini_name 40-%{ext_name}.ini
%endif
-# "php": ">=5.2.4"
-%global php_min_ver 5.2.4
+# "php": ">=5.2.7"
+%global php_min_ver 5.2.7
%if 0%{?scl:1}
# PHPUnit not available in SCL
@@ -53,7 +55,7 @@ Summary: The flexible, fast, and secure template engine for PHP
Group: Development/Libraries
License: BSD
URL: http://twig.sensiolabs.org
-Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{pkg_name}-%{github_version}-%{github_commit}.tar.gz
+Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{pkg_name}-%{github_version}-%{github_short}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel >= %{php_min_ver}
@@ -126,6 +128,10 @@ Obsoletes: php55w-%{ext_name} <= %{version}
Obsoletes: php56u-%{ext_name} <= %{version}
Obsoletes: php56w-%{ext_name} <= %{version}
%endif
+%if "%{php_version}" > "7.0"
+Obsoletes: php70u-%{ext_name} <= %{version}
+Obsoletes: php70w-%{ext_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -263,6 +269,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Apr 19 2015 Remi Collet <remi@fedoraproject.org> - 1.18.1-1
+- Update to 1.18.1
+
* Mon Jan 26 2015 Remi Collet <remi@fedoraproject.org> - 1.18.0-1
- Update to 1.18.0