From 7419709d3eebcfb072bad5752b79ae1adce72311 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Feb 2024 10:44:39 +0100 Subject: update to 6.0.0 raise dependency on PHP 8.2 raise dependency on sebastian/recursion-context 6 rename to php-sebastian-exporter6 move to /usr/share/php/SebastianBergmann/Exporter6 --- composer.json | 10 +++++----- php-sebastian-exporter6.spec | 47 ++++++++++++++++++++++++++------------------ 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index 292dba3..fcb0726 100644 --- a/composer.json +++ b/composer.json @@ -32,19 +32,19 @@ }, "config": { "platform": { - "php": "8.1.0" + "php": "8.2.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-mbstring": "*", - "sebastian/recursion-context": "^5.0" + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "autoload": { "classmap": [ @@ -58,7 +58,7 @@ }, "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-main": "6.0-dev" } } } diff --git a/php-sebastian-exporter6.spec b/php-sebastian-exporter6.spec index 6a6b83b..f475d8d 100644 --- a/php-sebastian-exporter6.spec +++ b/php-sebastian-exporter6.spec @@ -1,31 +1,33 @@ -# remirepo/fedora spec file for php-sebastian-exporter5 +# remirepo/fedora spec file for php-sebastian-exporter6 # -# Copyright (c) 2013-2023 Remi Collet +# Copyright (c) 2013-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%bcond_without tests +# disabled until phpunit11 available +%bcond_with tests -%global gh_commit 64f51654862e0f5e318db7e9dcc2292c63cdbddc +%global gh_commit d0c0a93fc746b0c066037f1e7d09104129e868ff %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project exporter +%global gh_date 2024-02-02 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} # Namespace %global ns_vendor SebastianBergmann %global ns_project Exporter -%global major 5 +%global major 6 %global php_home %{_datadir}/php %global pear_name Exporter %global pear_channel pear.phpunit.de Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 5.1.1 +Version: 6.0.0 Release: 1%{?dist} Summary: Export PHP variables for visualization, version %{major} @@ -35,36 +37,36 @@ Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 8.1 +BuildRequires: php(language) >= 8.2 BuildRequires: php-mbstring BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-fedora-autoloader-devel %if %{with tests} # from composer.json, "require-dev": { -# "phpunit/phpunit": "^10.0", -BuildRequires: phpunit10 +# "phpunit/phpunit": "^11.0", +BuildRequires: phpunit11 # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -BuildRequires: (php-composer(%{pk_vendor}/recursion-context) >= 5.0 with php-composer(%{pk_vendor}/recursion-context) < 6) +BuildRequires: (php-composer(%{pk_vendor}/recursion-context) >= 6.0 with php-composer(%{pk_vendor}/recursion-context) < 7) # remirepo:3 %else -BuildRequires: php-sebastian-recursion-context5 +BuildRequires: php-sebastian-recursion-context6 %endif %endif # from composer.json -# "php": ">=8.1", +# "php": ">=8.2", # "ext-mbstring": "*", -# "sebastian/recursion-context": "^5.0" -Requires: php(language) >= 8.1 +# "sebastian/recursion-context": "^6.0" +Requires: php(language) >= 8.2 Requires: php-mbstring # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -Requires: (php-composer(%{pk_vendor}/recursion-context) >= 5.0 with php-composer(%{pk_vendor}/recursion-context) < 6) +Requires: (php-composer(%{pk_vendor}/recursion-context) >= 6.0 with php-composer(%{pk_vendor}/recursion-context) < 7) # remirepo:3 %else -Requires: php-sebastian-recursion-context5 +Requires: php-sebastian-recursion-context6 %endif # from phpcompatinfo report for version 5.0.0 Requires: php-pcre @@ -93,7 +95,7 @@ phpab --template fedora --output src/autoload.php src cat < - 6.0.0-1 +- update to 6.0.0 +- raise dependency on PHP 8.2 +- raise dependency on sebastian/recursion-context 6 +- rename to php-sebastian-exporter6 +- move to /usr/share/php/SebastianBergmann/Exporter6 + * Mon Sep 25 2023 Remi Collet - 5.1.1-1 - update to 5.1.1 -- cgit