diff mbox series

Fix REUSE compliant due to swupdateclient

Message ID 20230228170747.3038008-1-sbabic@denx.de
State Accepted
Headers show
Series Fix REUSE compliant due to swupdateclient | expand

Commit Message

Stefano Babic Feb. 28, 2023, 5:07 p.m. UTC
Add SPDX to python tools and fix license to GPL-2.0-only as the rest of
the project.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 tools/python/swupdateclient/setup.py                    | 5 ++++-
 tools/python/swupdateclient/swupdateclient/__about__.py | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/tools/python/swupdateclient/setup.py b/tools/python/swupdateclient/setup.py
index 0765831..be05d0b 100644
--- a/tools/python/swupdateclient/setup.py
+++ b/tools/python/swupdateclient/setup.py
@@ -1,3 +1,6 @@ 
+# SPDX-FileCopyrightText: 2023 Stefano Babic <sbabic@denx.de>
+#
+# SPDX-License-Identifier:     GPL-2.0-only
 from setuptools import setup, find_packages
 
 setup(
@@ -5,7 +8,7 @@  setup(
     version='0.1',
     packages=find_packages(),
     url='https://github.com/sbabic/swupdate/tree/master/tools/python/swupdateclient',
-    license='GPLv3',
+    license='GPL-2.0-only',
     author='Stefano Babic',
     author_email='stefano.babic@swupdate.org',
     description='Python Client to update SWUpdate based devices',
diff --git a/tools/python/swupdateclient/swupdateclient/__about__.py b/tools/python/swupdateclient/swupdateclient/__about__.py
index fb1a360..32672b7 100644
--- a/tools/python/swupdateclient/swupdateclient/__about__.py
+++ b/tools/python/swupdateclient/swupdateclient/__about__.py
@@ -1,6 +1,6 @@ 
 # Copyright (C) 2022 Stefano Babic
 #
-# SPDX-License-Identifier: GPLv3
+# SPDX-License-Identifier: GPL-2.0-only
 
 __all__ = [
     "__title__",
@@ -23,4 +23,4 @@  __author__ = "Stefano Babic"
 __email__ = "stefano.babic@swupdate.org"
 
 __license__ = "GPL version 3"
-__copyright__ = f"Copyright 2023 {__author__}"
\ No newline at end of file
+__copyright__ = f"Copyright 2023 {__author__}"