diff options
-rw-r--r-- | composer.json | 6 | ||||
-rw-r--r-- | php-sebastian-version4.spec | 26 |
2 files changed, 17 insertions, 15 deletions
diff --git a/composer.json b/composer.json index 88b1589..1215a32 100644 --- a/composer.json +++ b/composer.json @@ -15,14 +15,14 @@ }, "config": { "platform": { - "php": "7.4.0" + "php": "8.1.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, "require": { - "php": ">=7.4" + "php": ">=8.1" }, "autoload": { "classmap": [ @@ -31,7 +31,7 @@ }, "extra": { "branch-alias": { - "dev-master": "4.0-dev" + "dev-main": "4.0-dev" } } } diff --git a/php-sebastian-version4.spec b/php-sebastian-version4.spec index a1fcfa3..960869c 100644 --- a/php-sebastian-version4.spec +++ b/php-sebastian-version4.spec @@ -1,16 +1,15 @@ # remirepo/fedora spec file for php-sebastian-version4 # -# Copyright (c) 2013-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2013-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit c4a4bb93c63e7449e849b1c80a7083fec21dbdc7 +%global gh_commit 5facf5a20311ac44f79221274cdeb6c569ca11dd %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project version -%global gh_date 20210216 # Packagist %global pk_vendor sebastian %global pk_project %{gh_project} @@ -21,26 +20,27 @@ %global php_home %{_datadir}/php %global upstream_version 4.0.0 -%global upstream_prever dev +#global gh_date 20210216 +#global upstream_prever dev Name: php-%{pk_vendor}-%{pk_project}%{ver_major} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 1%{?gh_date:.%{gh_date}.%{gh_short}}%{?dist} Summary: Managing the version number of Git-hosted PHP projects, version %{ver_major} -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{upstream_version}-%{gh_short}.tgz Source1: makesrc.sh BuildArch: noarch -BuildRequires: php(language) >= 7.4 +BuildRequires: php(language) >= 8.1 BuildRequires: php-cli BuildRequires: php-fedora-autoloader-devel # From composer.json, "require": { -# "php": ">=7.4" -Requires: php(language) >= 7.4 +# "php": ">=8.1" +Requires: php(language) >= 8.1 Requires: git # Autoloader Requires: php-composer(fedora/autoloader) @@ -87,9 +87,11 @@ exit (class_exists("%{ns_vendor}\\%{ns_project}") ? 0 : 1); %changelog -* Tue Mar 16 2021 Remi Collet <remi@remirepo.net> - 4.0.0~dev-1.20210216.c4a4bb9 -- update to 4.0.0 dev -- raise dependency on PHP 7.4 +* Fri Feb 3 2023 Remi Collet <remi@remirepo.net> - 4.0.0-1 +- update to 4.0.0 +- raise dependency on PHP 8.1 +- rename to php-sebastian-version4 +- move to /usr/share/php/SebastianBergmann/Version4 * Mon Sep 28 2020 Remi Collet <remi@remirepo.net> - 3.0.2-1 - update to 3.0.2 (no change) |