From d2ff454eaa7b713e20842b387705c91aa180eaca Mon Sep 17 00:00:00 2001 From: Shulhan Date: Tue, 13 Aug 2024 07:37:54 +0700 Subject: all: replace licensing format to REUSE.toml Using ".reuse/dep5" has been deprecated since REUSE v3.2. While at it, add missing license to file "const.go". --- .reuse/dep5 | 16 ---------------- REUSE.toml | 20 ++++++++++++++++++++ const.go | 4 ++++ 3 files changed, 24 insertions(+), 16 deletions(-) delete mode 100644 .reuse/dep5 create mode 100644 REUSE.toml diff --git a/.reuse/dep5 b/.reuse/dep5 deleted file mode 100644 index 7c8da4b..0000000 --- a/.reuse/dep5 +++ /dev/null @@ -1,16 +0,0 @@ -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: asciidoctor-go -Upstream-Contact: Shulhan -Source: https://git.sr.ht/~shulhan/asciidoctor-go - -Files: testdata/* -Copyright: 2022 Shulhan -License: GPL-3.0-or-later - -Files: go.sum -Copyright: 2020 Shulhan -License: GPL-3.0-or-later - -Files: README.md -Copyright: 2020 Shulhan -License: GPL-3.0-or-later diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..8a24c11 --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,20 @@ +## SPDX-FileCopyrightText: 2024 M. Shulhan +## +## SPDX-License-Identifier: GPL-3.0-or-later + +version = 1 + +[[annotations]] +path = ["go.sum", "README.md"] +SPDX-FileCopyrightText = "2020 Shulhan " +SPDX-License-Identifier = "GPL-3.0-or-later" + +[[annotations]] +path = ["_doc/*.html"] +SPDX-FileCopyrightText = "2022 Shulhan " +SPDX-License-Identifier = "GPL-3.0-or-later" + +[[annotations]] +path = ["testdata/**"] +SPDX-FileCopyrightText = "2022 Shulhan " +SPDX-License-Identifier = "GPL-3.0-or-later" diff --git a/const.go b/const.go index f60090c..1b5d36e 100644 --- a/const.go +++ b/const.go @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2022 M. Shulhan +// +// SPDX-License-Identifier: GPL-3.0-or-later + package asciidoctor // List of passthrough substitutions. -- cgit v1.3