Skip to content

Commit 0677c4a

Browse files
committed
Use SPDX license tags instead of old-style license headers
This matches the change that was done in the systemd repo a few years ago.
1 parent fd11077 commit 0677c4a

31 files changed

+50
-201
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
PYTHON = python
24
SED = sed
35
ETAGS = etags

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
# -*- coding: utf-8 -*-
24
#
35
# python-systemd documentation build configuration file, created by

docs/daemon.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
`systemd.daemon` module
24
=======================
35

docs/id128.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
`systemd.id128` module
24
======================
35

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
.. python-systemd documentation master file, created by
1+
.. SPDX-License-Identifier: LGPL-2.1-or-later
2+
3+
.. python-systemd documentation main file, created by
24
sphinx-quickstart on Sat Feb 9 13:49:42 2013.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
55
66
.. _index:
77

docs/journal.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
`systemd.journal` module
24
========================
35

docs/login.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
`systemd.login` module
24
=======================
35

meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
project(
24
'python-systemd',
35
'c',

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: LGPL-2.1-or-later
2+
13
[project]
24
name = "systemd-python"
35
dynamic = ["version"]

src/systemd/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
id128-constants.h generated
2+
id128-defines.h generated

0 commit comments

Comments
 (0)