From 73904b60687aaafebaecdc7a748fe33a78057ef1 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 3 Nov 2025 11:47:45 -0600 Subject: [PATCH] Spreadsheet: Correct accidental license change In formatting commit 8a746c88eb5012d458cbc2e0f04894d9473b72ee a contributor mistakenly changed the license of importXLSX.py from LGPL to GPL. The original code contributed by @ulrich1a included an LGPL license block in it, and that license should have been retained. This commit changes the license block to the originally-intended LGPL block, and updates the SPDX header to match. --- src/Mod/Spreadsheet/importXLSX.py | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/Mod/Spreadsheet/importXLSX.py b/src/Mod/Spreadsheet/importXLSX.py index c29d28f668..f342a09704 100644 --- a/src/Mod/Spreadsheet/importXLSX.py +++ b/src/Mod/Spreadsheet/importXLSX.py @@ -1,25 +1,26 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: GPL-2.0-or-later +# SPDX-License-Identifier: LGPL-2.1-or-later # *************************************************************************** # * Copyright (c) 2016 Ulrich Brammer * # * * -# * This program is free software; you can redistribute it and/or modify * -# * it under the terms of the GNU General Public License (GPL) * -# * as published by the Free Software Foundation; either version 2 of * -# * the License, or (at your option) any later version. * -# * for detail see the LICENCE text file. * +# * This file is part of FreeCAD. * # * * -# * FreeCAD 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 Library General Public License for more details. * +# * FreeCAD 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 version 2.1 of the * +# * License, or (at your option) any later version. * # * * -# * You should have received a copy of the GNU Library General Public * -# * License along with FreeCAD; if not, write to the Free Software * -# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * -# * USA * -# ***************************************************************************/ +# * FreeCAD 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 * +# * Lesser General Public License for more details. * +# * * +# * You should have received a copy of the GNU Lesser General Public * +# * License along with FreeCAD. If not, see * +# * . * +# * * +# *************************************************************************** __title__ = "FreeCAD Spreadsheet Workbench - XLSX importer"