From 27c49208a67f7d3f603cd8fee4465a73e07799ee Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Feb 2024 10:08:40 +0100 Subject: update to 7.0.0 raise dependency on PHP 8.2 rename to php-phpunit-php-timer7 move to /usr/share/php/SebastianBergmann/Timer7 --- composer.json | 11 ++++++----- php-phpunit-php-timer7.spec | 31 +++++++++++++++++++------------ 2 files changed, 25 insertions(+), 17 deletions(-) diff --git a/composer.json b/composer.json index 6f5880b..f4991e4 100644 --- a/composer.json +++ b/composer.json @@ -15,18 +15,19 @@ } ], "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues" + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "security": "https://github.com/sebastianbergmann/php-timer/security/policy" }, "prefer-stable": true, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "config": { "platform": { - "php": "8.1.0" + "php": "8.2.0" }, "optimize-autoloader": true, "sort-packages": true @@ -38,7 +39,7 @@ }, "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } } } diff --git a/php-phpunit-php-timer7.spec b/php-phpunit-php-timer7.spec index c1a8462..0423ce9 100644 --- a/php-phpunit-php-timer7.spec +++ b/php-phpunit-php-timer7.spec @@ -1,6 +1,6 @@ -# remirepo/fedora spec file for php-phpunit-php-timer6 +# remirepo/fedora spec file for php-phpunit-php-timer7 # -# Copyright (c) 2010-2023 Christof Damian, Remi Collet +# Copyright (c) 2010-2024 Christof Damian, Remi Collet # # License: MIT # http://opensource.org/licenses/MIT @@ -8,12 +8,13 @@ # Please, preserve the changelog entries # -%bcond_without tests +%bcond_with tests -%global gh_commit e2a2d67966e740530f4a3343fe2e030ffdc1161d +%global gh_commit 8a59d9e25720482ee7fcdf296595e08795b84dc5 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-timer +%global gh_date 2024-02-02 # Packagist %global pk_vendor phpunit %global pk_project %{gh_project} @@ -21,12 +22,12 @@ %global ns_vendor SebastianBergmann %global ns_project Timer -%global major 6 +%global major 7 %global php_home %{_datadir}/php Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 6.0.0 -Release: 3%{?dist} +Version: 7.0.0 +Release: 1%{?dist} Summary: PHP Utility class for timing, version %{major} License: BSD-3-Clause @@ -35,18 +36,18 @@ Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 8.1 +BuildRequires: php(language) >= 8.2 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 %endif # From composer.json -# "php": ">=8.1" -Requires: php(language) >= 8.1 +# "php": ">=8.2" +Requires: php(language) >= 8.2 # From phpcompatinfo report for version 6.0.0 Requires: php-spl # Autoloader @@ -108,6 +109,12 @@ exit $ret %changelog +* Mon Feb 5 2024 Remi Collet - 7.0.0-1 +- update to 7.0.0 +- raise dependency on PHP 8.2 +- rename to php-phpunit-php-timer7 +- move to /usr/share/php/SebastianBergmann/Timer7 + * Wed Aug 23 2023 Remi Collet - 6.0.0-3 - Enable test suite -- cgit