diff --git a/girepository/tools/g-ir-inspect.c b/girepository/tools/g-ir-inspect.c
index 5699e93d3..efcfa979b 100644
--- a/girepository/tools/g-ir-inspect.c
+++ b/girepository/tools/g-ir-inspect.c
@@ -3,6 +3,8 @@
  * Copyright (C) 2011-2016 Dominique Leuenberger <dimstar@opensuse.org>
  * Copyright © 2016 Igor Gnatenko <ignatenko@redhat.com>
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either
diff --git a/girepository/tools/generate.c b/girepository/tools/generate.c
index 143f01fd7..8172682bc 100644
--- a/girepository/tools/generate.c
+++ b/girepository/tools/generate.c
@@ -4,6 +4,8 @@
  * Copyright (C) 2005 Matthias Clasen
  * Copyright (C) 2008,2009 Red Hat, Inc.
  *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  * License as published by the Free Software Foundation; either