diff options
-rw-r--r-- | php-sebastian-object-reflector2.spec | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/php-sebastian-object-reflector2.spec b/php-sebastian-object-reflector2.spec index 5e4b106..4d6f9a3 100644 --- a/php-sebastian-object-reflector2.spec +++ b/php-sebastian-object-reflector2.spec @@ -1,7 +1,7 @@ # remirepo/fedora spec file for php-sebastian-object-reflector2 # -# Copyright (c) 2017-2020 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 @@ -24,10 +24,10 @@ Name: php-%{pk_vendor}-%{pk_project}%{major} Version: 2.0.4 -Release: 1%{?dist} +Release: 7%{?dist} Summary: Allows reflection of object attributes, version %{major} -License: BSD +License: BSD-3-Clause URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{name}-%{version}-%{gh_short}.tgz Source1: makesrc.sh @@ -56,6 +56,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version} Allows reflection of object attributes, including inherited and non-public ones. +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} @@ -81,7 +85,7 @@ EOF : Run upstream test suite ret=0 -for cmd in php 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}/phpunit9 --verbose || ret=1 @@ -103,6 +107,9 @@ exit $ret %changelog +* Fri Apr 21 2023 Remi Collet <remi@remirepo.net> - 2.0.4-7 +- use SPDX License id + * Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 2.0.4-1 - update to 2.0.4 |