File 0009-govis-add-SPDX-license-tag.patch of Package go-mtree

From 3ce83fca15d75236755d8a9eecfb6da6f96109f6 Mon Sep 17 00:00:00 2001
From: Aleksa Sarai <cyphar@cyphar.com>
Date: Sat, 20 Sep 2025 16:32:42 +1000
Subject: [PATCH 09/25] govis: add SPDX license tag

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
---
 pkg/govis/README.md     | 2 +-
 pkg/govis/govis.go      | 3 ++-
 pkg/govis/govis_test.go | 3 ++-
 pkg/govis/unvis.go      | 3 ++-
 pkg/govis/unvis_test.go | 3 ++-
 pkg/govis/vis.go        | 3 ++-
 pkg/govis/vis_test.go   | 3 ++-
 7 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/pkg/govis/README.md b/pkg/govis/README.md
index d56e8da3b2c2..1b1559be445e 100644
--- a/pkg/govis/README.md
+++ b/pkg/govis/README.md
@@ -11,7 +11,7 @@ Because 80s BSD code is not very nice to read.
 
 ```
 govis: unicode aware vis(3) encoding implementation
-Copyright (C) 2017 SUSE LLC.
+Copyright (C) 2017-2025 SUSE LLC.
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
diff --git a/pkg/govis/govis.go b/pkg/govis/govis.go
index e8dfb3a8c67c..003b182b7625 100644
--- a/pkg/govis/govis.go
+++ b/pkg/govis/govis.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/pkg/govis/govis_test.go b/pkg/govis/govis_test.go
index eaab701fc53d..50270308c38d 100644
--- a/pkg/govis/govis_test.go
+++ b/pkg/govis/govis_test.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/pkg/govis/unvis.go b/pkg/govis/unvis.go
index 8a262185889c..ddf77253a484 100644
--- a/pkg/govis/unvis.go
+++ b/pkg/govis/unvis.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/pkg/govis/unvis_test.go b/pkg/govis/unvis_test.go
index 5b3c5d1e491d..2db2f5792c8d 100644
--- a/pkg/govis/unvis_test.go
+++ b/pkg/govis/unvis_test.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/pkg/govis/vis.go b/pkg/govis/vis.go
index 140556a658b7..1af15eb0fa1a 100644
--- a/pkg/govis/vis.go
+++ b/pkg/govis/vis.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/pkg/govis/vis_test.go b/pkg/govis/vis_test.go
index a04d8a59e00f..96c367264943 100644
--- a/pkg/govis/vis_test.go
+++ b/pkg/govis/vis_test.go
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: Apache-2.0
 /*
  * govis: unicode aware vis(3) encoding implementation
- * Copyright (C) 2017 SUSE LLC.
+ * Copyright (C) 2017-2025 SUSE LLC.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
-- 
2.51.0

openSUSE Build Service is sponsored by