summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-21 10:43:03 +0200
committerRemi Collet <remi@php.net>2023-04-21 10:43:03 +0200
commit3005f521b543011ff8426cc63b8a8e5e0ce0ad6b (patch)
treebde3f5a0a6c31c0730df75dc1e70d968866ec9f9
parentbeefa08dcdd2bcfd0553f1ad7e00439f4e7c7d1a (diff)
use SPDX License id
-rw-r--r--php-sebastian-type.spec19
1 files 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 <remi@remirepo.net> - 1.1.4-7
+- use SPDX License id
+
* Mon Nov 30 2020 Remi Collet <remi@remirepo.net> - 1.1.4-1
- update to 1.1.4 (no change)