summaryrefslogtreecommitdiffstats
path: root/php-twig3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-twig3.spec')
-rw-r--r--php-twig3.spec22
1 files changed, 17 insertions, 5 deletions
diff --git a/php-twig3.spec b/php-twig3.spec
index 1781db1..a234d25 100644
--- a/php-twig3.spec
+++ b/php-twig3.spec
@@ -14,7 +14,7 @@
%global github_owner twigphp
%global github_name Twig
-%global github_commit 3ffcf4b7d890770466da3b2666f82ac054e7ec72
+%global github_commit 7e7d5839d4bec168dfeef0ac66d5c5a2edbabffd
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global composer_vendor twig
@@ -27,7 +27,7 @@
%global phpdir %{_datadir}/php
Name: php-%{composer_project}%{major}
-Version: 3.5.0
+Version: 3.6.1
Release: 1%{?dist}
Summary: The flexible, fast, and secure template engine for PHP
@@ -45,10 +45,10 @@ BuildRequires: php-fedora-autoloader-devel
BuildRequires: php(language) >= 7.3
# remirepo:1
%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8
-BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 2)
+BuildRequires: (php-composer(psr/container) >= 1.0 with php-composer(psr/container) < 3)
# remirepo:4
%else
-BuildRequires: php-psr-container < 2
+BuildRequires: php-psr-container < 3
BuildRequires: php-psr-container >= 1.0
%endif
%global phpunit %{_bindir}/phpunit9
@@ -133,7 +133,10 @@ cat << 'EOF' | tee -a vendor/autoload.php
require_once '%{buildroot}%{phpdir}/Twig%{major}/autoload.php';
// Dependencies (require-dev)
\Fedora\Autoloader\Dependencies::required([
- '%{phpdir}/Psr/Container/autoload.php',
+ [
+ '%{phpdir}/Psr/Container2/autoload.php',
+ '%{phpdir}/Psr/Container/autoload.php',
+ ],
]);
EOF
@@ -164,6 +167,15 @@ exit $RETURN_CODE
%changelog
+* Mon Jun 12 2023 Remi Collet <remi@remirepo.net> - 3.6.1-1
+- update to 3.6.1
+
+* Thu May 4 2023 Remi Collet <remi@remirepo.net> - 3.6.0-1
+- update to 3.6.0
+
+* Wed Feb 8 2023 Remi Collet <remi@remirepo.net> - 3.5.1-1
+- update to 3.5.1
+
* Tue Jan 3 2023 Remi Collet <remi@remirepo.net> - 3.5.0-1
- update to 3.5.0