From 8ad061a482017775a81180c1f80e36e33662e925 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 21 Apr 2023 10:28:58 +0200 Subject: use SPDX License id --- php-sebastian-object-reflector.spec | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'php-sebastian-object-reflector.spec') diff --git a/php-sebastian-object-reflector.spec b/php-sebastian-object-reflector.spec index 3a70d19..d570e5f 100644 --- a/php-sebastian-object-reflector.spec +++ b/php-sebastian-object-reflector.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-object-reflector # -# Copyright (c) 2017-2021 Remi Collet -# License: CC-BY-SA +# Copyright (c) 2017-2023 Remi Collet +# License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries @@ -27,10 +27,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 1.1.2 -Release: 3%{?dist} -Summary: Allows reflection of object attributes +Release: 8%{?dist} +Summary: Allows reflection of object attributes, version 1 -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 @@ -59,6 +59,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} Allows reflection of object attributes, including inherited and non-public ones. +This package provides the version 1 of the library. + +Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php + %prep %setup -q -n %{gh_project}-%{gh_commit} @@ -87,7 +91,7 @@ find tests/ -name \*php -exec sed -e 's/setUp()/setUp():void/' -i {} \; : 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 %{_bindir}/php -d auto_prepend_file=%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major}/autoload.php \ %{_bindir}/phpunit8 --verbose || ret=1 @@ -109,6 +113,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet - 1.1.2-8 +- use SPDX License id + * Wed Mar 10 2021 Remi Collet - 1.1.2-3 - switch to phpunit8 -- cgit