summaryrefslogtreecommitdiffstats
path: root/php-sebastian-object-reflector.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sebastian-object-reflector.spec')
-rw-r--r--php-sebastian-object-reflector.spec19
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