From 3005f521b543011ff8426cc63b8a8e5e0ce0ad6b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Apr 2023 10:43:03 +0200 Subject: use SPDX License id --- php-sebastian-type.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/php-sebastian-type.spec b/php-sebastian-type.spec index 283080f..39b596a 100644 --- a/php-sebastian-type.spec +++ b/php-sebastian-type.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-type # -# Copyright (c) 2019 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2019-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -28,10 +28,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.1.4 -Release: 1%{?dist} -Summary: Collection of value objects that represent the types of the PHP type system +Release: 7%{?dist} +Summary: Collection of value objects that represent the types of the PHP type system, v1 -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz @@ -60,6 +60,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} %description Collection of value objects that represent the types of the PHP type system. +This package provides version %{major} of %{pk_vendor}/%{pk_project} library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -89,7 +93,7 @@ EOF : Run upstream test suite ret=0 -for cmd in php php72 php73 php74 php80; do +for cmd in php php80 php81 php82; do if which $cmd; then $cmd -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit8 --verbose || ret=1 @@ -112,6 +116,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet - 1.1.4-7 +- use SPDX License id + * Mon Nov 30 2020 Remi Collet - 1.1.4-1 - update to 1.1.4 (no change) -- cgit