summaryrefslogtreecommitdiffstats
path: root/php-webmozart-assert.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-webmozart-assert.spec')
-rw-r--r--php-webmozart-assert.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-webmozart-assert.spec b/php-webmozart-assert.spec
index 035fb25..ef5799b 100644
--- a/php-webmozart-assert.spec
+++ b/php-webmozart-assert.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-webmozart-assert
#
-# Copyright (c) 2016-2020 Shawn Iwinski <shawn@iwin.ski>
+# Copyright (c) 2016-2025 Shawn Iwinski <shawn@iwin.ski>
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -14,8 +14,8 @@
%global bootstrap 0
%global github_owner webmozart
%global github_name assert
-%global github_version 1.11.0
-%global github_commit 11cb2199493b2f8a3b53e7f19068fc6aac760991
+%global github_version 1.12.0
+%global github_commit 541057574806f942c94662b817a50f63f7345360
%global composer_vendor webmozart
%global composer_project assert
@@ -58,12 +58,8 @@ BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-ctype
BuildRequires: %{phpunit_require}
## phpcompatinfo (computed from version 1.7.0)
-BuildRequires: php-filter
BuildRequires: php-mbstring
-BuildRequires: php-pcre
-BuildRequires: php-reflection
BuildRequires: php-simplexml
-BuildRequires: php-spl
## Autoloader
BuildRequires: php-composer(fedora/autoloader)
%endif
@@ -72,10 +68,7 @@ BuildRequires: php-composer(fedora/autoloader)
Requires: php(language) >= %{php_min_ver}
Requires: php-ctype
# phpcompatinfo (computed from version 1.7.0)
-Requires: php-filter
Requires: php-mbstring
-Requires: php-pcre
-Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -127,7 +120,7 @@ BOOTSTRAP
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which %{phpunit_exec})
-for PHP_EXEC in php74 php80 php81 php82; do
+for PHP_EXEC in php81 php82 php83 php84 php85; do
if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
$PHP_EXEC \
-d auto_prepend_file=%{buildroot}%{phpdir}/Webmozart/Assert/autoload.php \
@@ -152,6 +145,9 @@ exit $RETURN_CODE
%changelog
+* Tue Oct 21 2025 Remi Collet <remi@remirepo.net> - 1.12.0-1
+- update to 1.12.0
+
* Mon Aug 8 2022 Remi Collet <remi@remirepo.net> - 1.11.0-1
- update to 1.11.0
- raise dependency on PHP 7.2