summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-text-template6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-php-text-template6.spec')
-rw-r--r--php-phpunit-php-text-template6.spec34
1 files changed, 20 insertions, 14 deletions
diff --git a/php-phpunit-php-text-template6.spec b/php-phpunit-php-text-template6.spec
index 8cc2108..62c1893 100644
--- a/php-phpunit-php-text-template6.spec
+++ b/php-phpunit-php-text-template6.spec
@@ -1,19 +1,19 @@
# remirepo/fedora spec file for php-phpunit-php-text-template5
#
-# SPDX-FileCopyrightText: Copyright 2010-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2010-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
-%bcond_without tests
+%bcond_with tests
-%global gh_commit e1367a453f0eda562eedb4f659e13aa900d66c53
+%global gh_commit a47af19f93f76aa3368303d752aa5272ca3299f4
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project php-text-template
-%global gh_date 2025-02-07
+%global gh_date 2026-02-06
# Packagist
%global pk_vendor phpunit
%global pk_project %{gh_project}
@@ -21,11 +21,11 @@
%global ns_vendor SebastianBergmann
%global ns_project Template
%global php_home %{_datadir}/php
-%global ver_major 5
+%global ver_major 6
Name: php-%{pk_vendor}-%{pk_project}%{ver_major}
-Version: 5.0.0
-Release: 2%{?dist}
+Version: 6.0.0
+Release: 1%{?dist}
Summary: Simple template engine, version %{ver_major}
License: BSD-3-Clause
@@ -35,17 +35,17 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
BuildArch: noarch
-BuildRequires: php(language) >= 8.3
+BuildRequires: php(language) >= 8.4.1
BuildRequires: php-fedora-autoloader-devel
%if %{with tests}
# From composer.json, require-dev
-# "phpunit/phpunit": "^12.0"
-BuildRequires: phpunit12
+# "phpunit/phpunit": "^13.0"
+BuildRequires: phpunit13
%endif
# From composer.json
-# "php": ">=8.3"
-Requires: php(language) >= 8.3
+# "php": ">=8.4"
+Requires: php(language) >= 8.4
# From phpcompatinfo report for version 3.0.0
Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
@@ -81,10 +81,10 @@ mkdir vendor
: Run upstream test suite
ret=0
-for cmd in php php83 php84; do
+for cmd in php php84 php85; do
if which $cmd; then
$cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{ver_major}/autoload.php \
- %{_bindir}/phpunit12 || ret=1
+ %{_bindir}/phpunit13 || ret=1
fi
done
exit $ret
@@ -100,6 +100,12 @@ exit $ret
%changelog
+* Fri Feb 6 2026 Remi Collet <remi@remirepo.net> - 6.0.0-1
+- update to 6.0.0
+- raise dependency on PHP 8.4
+- rename to php-phpunit-php-text-template6
+- move to /usr/share/php/SebastianBergmann/Template6
+
* Mon Feb 10 2025 Remi Collet <remi@remirepo.net> - 5.0.0-2
- enable test suite