diff options
author | Remi Collet <remi@remirepo.net> | 2023-04-21 10:28:58 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-04-21 10:28:58 +0200 |
commit | 8ad061a482017775a81180c1f80e36e33662e925 (patch) | |
tree | 36de8a89c79e12da85a41b7a11c42a2d5c6f06ff | |
parent | e6b08ee7392de795094614e830993d29f301fe5f (diff) |
use SPDX License id
-rw-r--r-- | php-sebastian-object-reflector.spec | 19 |
1 files changed, 13 insertions, 6 deletions
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 <remi@remirepo.net> - 1.1.2-8 +- use SPDX License id + * Wed Mar 10 2021 Remi Collet <remi@remirepo.net> - 1.1.2-3 - switch to phpunit8 |