summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-03 14:13:57 +0100
committerRemi Collet <remi@php.net>2022-01-03 14:13:57 +0100
commit7272ba58de375a2c3d0f4ac48a557e022eb212b0 (patch)
tree43bd9dceb37662b890c9b792a3d8971afebd04da
parent5536fe365facd1310d981b93f657b0487e838974 (diff)
v2.14.9
-rw-r--r--composer.json5
-rw-r--r--php-twig2.spec19
2 files changed, 15 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index 8f347d5..377d9ea 100644
--- a/composer.json
+++ b/composer.json
@@ -24,9 +24,10 @@
}
],
"require": {
- "php": ">=7.2.5",
+ "php": ">=7.1.3",
"symfony/polyfill-mbstring": "^1.3",
- "symfony/polyfill-ctype": "^1.8"
+ "symfony/polyfill-ctype": "^1.8",
+ "symfony/polyfill-php72": "^1.8"
},
"require-dev": {
"symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0",
diff --git a/php-twig2.spec b/php-twig2.spec
index de0a559..4176035 100644
--- a/php-twig2.spec
+++ b/php-twig2.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-twig2
#
-# Copyright (c) 2014-2021 Shawn Iwinski <shawn.iwinski@gmail.com>
+# Copyright (c) 2014-2022 Shawn Iwinski <shawn.iwinski@gmail.com>
# Remi Collet <remi@fedoraproject.org>
#
# License: MIT
@@ -14,18 +14,18 @@
%global github_owner twigphp
%global github_name Twig
-%global github_commit 06b450a2326aa879faa2061ff72fe1588b3ab043
+%global github_commit d28b8d7390e21f02cbafc65b33a12fa0733777c2
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global composer_vendor twig
%global composer_project twig
-# "php": ">=7.2.5"
-%global php_min_ver 7.2.5
+# "php": ">=7.1.3"
+%global php_min_ver 7.1.3
%global phpdir %{_datadir}/php
Name: php-%{composer_project}2
-Version: 2.14.8
+Version: 2.14.9
Release: 1%{?dist}
Summary: The flexible, fast, and secure template engine for PHP
@@ -45,12 +45,13 @@ BuildRequires: php(language) >= 7.3
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2)
BuildRequires: (php-composer(symfony/polyfill-mbstring) >= 1.3 with php-composer(symfony/polyfill-mbstring) < 2)
+BuildRequires: (php-composer(symfony/polyfill-php72) >= 1.8 with php-composer(symfony/polyfill-php72) < 2)
# remirepo:6
%else
BuildRequires: php-psr-container < 2
BuildRequires: php-psr-container >= 1.0
BuildRequires: php-symfony-polyfill < 2
-BuildRequires: php-symfony-polyfill >= 1.3
+BuildRequires: php-symfony-polyfill >= 1.8
%endif
%global phpunit %{_bindir}/phpunit9
BuildRequires: %{phpunit}
@@ -72,10 +73,11 @@ Requires: php(language) >= %{php_min_ver}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(symfony/polyfill-mbstring) >= 1.3 with php-composer(symfony/polyfill-mbstring) < 2)
+Requires: (php-composer(symfony/polyfill-php72) >= 1.8 with php-composer(symfony/polyfill-php72) < 2)
# remirepo:4
%else
Requires: php-symfony-polyfill < 2
-Requires: php-symfony-polyfill >= 1.3
+Requires: php-symfony-polyfill >= 1.8
%endif
## phpcompatinfo (computed from version 2.11.3)
Requires: php-ctype
@@ -180,6 +182,9 @@ exit $RETURN_CODE
%changelog
+* Mon Jan 3 2022 Remi Collet <remi@remirepo.net> - 2.14.9-1
+- update to 2.14.9
+
* Thu Nov 25 2021 Remi Collet <remi@remirepo.net> - 2.14.8-1
- update to 2.14.8 (no change)