rust: bindings: turn SPDX tags into comments
authorErik Schilling <erik.schilling@linaro.org>
Fri, 26 May 2023 15:27:32 +0000 (17:27 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 30 May 2023 16:08:30 +0000 (18:08 +0200)
In markdown `# Foo` generates a top-level heading. This leads to to some
weird, huge SPDX tags being rendered before the start of the actual
content.

Lacking good examples, I just took the syntax that `reuse addheader`[1]
outputs.

[1] https://github.com/fsfe/reuse-tool

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/rust/gpiosim-sys/README.md
bindings/rust/libgpiod-sys/README.md

index 6cd24d9aaa52bb54c7fd0f2604871205dd8d29d8..b13f09aff98c5a47210ec3d5b20dffc27fd71f65 100644 (file)
@@ -1,6 +1,8 @@
-# SPDX-License-Identifier: CC0-1.0
-# SPDX-FileCopyrightText: 2022 Linaro Ltd.
-# SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
+<!--
+SPDX-License-Identifier: CC0-1.0
+SPDX-FileCopyrightText: 2022 Linaro Ltd.
+SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
+-->
 
 # Generated gpiosim Rust FFI bindings
 Automatically generated Rust FFI bindings via
index 3eb5c9defeac76e62f5f95d36dc6a74da5824ca3..1cb3b0a0f5a407428e6595173a94c24e114b6a77 100644 (file)
@@ -1,6 +1,8 @@
-# SPDX-License-Identifier: CC0-1.0
-# SPDX-FileCopyrightText: 2022 Linaro Ltd.
-# SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
+<!--
+SPDX-License-Identifier: CC0-1.0
+SPDX-FileCopyrightText: 2022 Linaro Ltd.
+SPDX-FileCopyrightText: 2022 Viresh Kumar <viresh.kumar@linaro.org>
+-->
 
 # Generated libgpiod-sys Rust FFI bindings
 Automatically generated Rust FFI bindings via