summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-29 09:35:39 +0100
committerRemi Collet <remi@php.net>2024-01-29 09:35:39 +0100
commitb3e0c264db6583588552ce1927967e96015357cb (patch)
treed01fb8075b55c17cc23a66e265fdbff6aee699b7
parent21174bacddce763f83c147d498d8e50b926a1d30 (diff)
update to 1.15.0
-rw-r--r--php-league-mime-type-detection.spec18
1 files changed, 7 insertions, 11 deletions
diff --git a/php-league-mime-type-detection.spec b/php-league-mime-type-detection.spec
index 40d1865..4dd3920 100644
--- a/php-league-mime-type-detection.spec
+++ b/php-league-mime-type-detection.spec
@@ -1,13 +1,13 @@
# remirepo/fedora spec file for php-league-mime-type-detection
#
-# Copyright (c) 2020-2023 Remi Collet
+# Copyright (c) 2020-2024 Remi Collet
# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
# Github
-%global gh_commit b6a5854368533df0295c5761a0253656a2e52d9e
+%global gh_commit ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner thephpleague
%global gh_project mime-type-detection
@@ -19,7 +19,7 @@
%global ns_project MimeTypeDetection
Name: php-%{pk_vendor}-%{pk_name}
-Version: 1.14.0
+Version: 1.15.0
Release: 1%{?dist}
Summary: Mime-type detection for Flysystem
@@ -38,15 +38,8 @@ BuildRequires: php-json
# "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0",
# "phpstan/phpstan": "^0.12.68",
# "friendsofphp/php-cs-fixer": "^3.2"
-# remirepo:1
-%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10
BuildRequires: phpunit10
%global phpunit %{_bindir}/phpunit10
-# remirepo:4
-%else
-BuildRequires: phpunit9 >= 9.3
-%global phpunit %{_bindir}/phpunit9
-%endif
# Autoloader
BuildRequires: php-fedora-autoloader-devel
@@ -103,7 +96,7 @@ sed -e 's/PHPStan\\Testing\\TestCase/PHPUnit\\Framework\\TestCase/' -i src/Overr
: Run upstream test suite
# the_generated_map_should_be_up_to_date is online
ret=0
-for cmdarg in "php %{phpunit}" "php80 %{_bindir}/phpunit9" php81 php82 php83; do
+for cmdarg in "php %{phpunit}" php81 php82 php83; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit10} \
@@ -126,6 +119,9 @@ exit $ret
%changelog
+* Mon Jan 29 2024 Remi Collet <remi@remirepo.net> - 1.15.0-1
+- update to 1.15.0
+
* Wed Oct 18 2023 Remi Collet <remi@remirepo.net> - 1.14.0-1
- update to 1.14.0