summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpunit-php-text-template2.spec17
1 files changed, 12 insertions, 5 deletions
diff --git a/php-phpunit-php-text-template2.spec b/php-phpunit-php-text-template2.spec
index aac811e..870a94e 100644
--- a/php-phpunit-php-text-template2.spec
+++ b/php-phpunit-php-text-template2.spec
@@ -1,7 +1,7 @@
# remirepo/fedora spec file for php-phpunit-php-text-template2
#
-# Copyright (c) 2010-2020 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2010-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}%{ver_major}
Version: 2.0.4
-Release: 1%{?dist}
+Release: 7%{?dist}
Summary: Simple template engine, version %{ver_major}
-License: BSD
+License: BSD-3-Clause
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: %{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh
@@ -58,6 +58,10 @@ Provides: php-composer(%{pk_vendor}/%{pk_project}) = %{version}
%description
Simple template engine.
+This package provides version %{ver_major} of %{pk_vendor}/%{pk_project} library.
+
+Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}/autoload.php
+
%prep
%setup -q -n %{gh_project}-%{gh_commit}
@@ -81,7 +85,7 @@ mkdir vendor
: 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}%{ver_major}/autoload.php \
%{_bindir}/phpunit9 --verbose || ret=1
@@ -102,6 +106,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