[devhelp] Licenses: Update unit-tests/* to be REUSE compliant



commit 3e2a222d63b2c12d0055daa4c58cfa34b657c42f
Author: Ayman Bagabas <ayman bagabas gmail com>
Date:   Sun Dec 22 20:16:24 2019 -0500

    Licenses: Update unit-tests/* to be REUSE compliant
    
    Follow the REUSE specifications to apply licenses https://reuse.software/
    
    https://gitlab.gnome.org/GNOME/devhelp/issues/15

 unit-tests/meson.build           |  3 +++
 unit-tests/test-completion.c     | 18 ++----------------
 unit-tests/test-link.c           | 18 ++----------------
 unit-tests/test-search-context.c | 18 ++----------------
 unit-tests/test-util.c           | 18 ++----------------
 5 files changed, 11 insertions(+), 64 deletions(-)
---
diff --git a/unit-tests/meson.build b/unit-tests/meson.build
index 13195181..3e3e7fba 100644
--- a/unit-tests/meson.build
+++ b/unit-tests/meson.build
@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2018 Sébastien Wilmet <swilmet gnome org>
+# SPDX-License-Identifier: GPL-3.0-or-later
+
 unit_tests = [
   'test-completion',
   'test-link',
diff --git a/unit-tests/test-completion.c b/unit-tests/test-completion.c
index aa21f463..bf3a9dc8 100644
--- a/unit-tests/test-completion.c
+++ b/unit-tests/test-completion.c
@@ -1,21 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
 /*
- * This file is part of Devhelp.
- *
- * Copyright (C) 2018 Sébastien Wilmet <swilmet gnome org>
- *
- * Devhelp is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation, either version 3 of the License,
- * or (at your option) any later version.
- *
- * Devhelp is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Devhelp.  If not, see <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2018 Sébastien Wilmet <swilmet gnome org>
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
 #include <devhelp/devhelp.h>
diff --git a/unit-tests/test-link.c b/unit-tests/test-link.c
index d0200e49..e95d96f4 100644
--- a/unit-tests/test-link.c
+++ b/unit-tests/test-link.c
@@ -1,21 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
 /*
- * This file is part of Devhelp.
- *
- * Copyright (C) 2017 Sébastien Wilmet <swilmet gnome org>
- *
- * Devhelp is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation, either version 3 of the License,
- * or (at your option) any later version.
- *
- * Devhelp is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Devhelp.  If not, see <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Sébastien Wilmet <swilmet gnome org>
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
 #include <devhelp/devhelp.h>
diff --git a/unit-tests/test-search-context.c b/unit-tests/test-search-context.c
index 29706d55..c3a1b787 100644
--- a/unit-tests/test-search-context.c
+++ b/unit-tests/test-search-context.c
@@ -1,21 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
 /*
- * This file is part of Devhelp.
- *
- * Copyright (C) 2018 Sébastien Wilmet <swilmet gnome org>
- *
- * Devhelp is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation, either version 3 of the License,
- * or (at your option) any later version.
- *
- * Devhelp is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Devhelp.  If not, see <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2018 Sébastien Wilmet <swilmet gnome org>
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
 #include "devhelp/dh-search-context.h"
diff --git a/unit-tests/test-util.c b/unit-tests/test-util.c
index ffe6721c..5ab81cf8 100644
--- a/unit-tests/test-util.c
+++ b/unit-tests/test-util.c
@@ -1,21 +1,7 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
 /*
- * This file is part of Devhelp.
- *
- * Copyright (C) 2017 Sébastien Wilmet <swilmet gnome org>
- *
- * Devhelp is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation, either version 3 of the License,
- * or (at your option) any later version.
- *
- * Devhelp is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Devhelp.  If not, see <http://www.gnu.org/licenses/>.
+ * SPDX-FileCopyrightText: 2017 Sébastien Wilmet <swilmet gnome org>
+ * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
 #include "devhelp/dh-util-lib.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]