From 718e4858f65e38a94cf826481f54191aa9972022 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Wed, 8 Nov 2023 14:36:52 -0500 Subject: [PATCH] Replace license boilerplates in code with SPDX-License-Identifier Remove the license boilerplates from source files and replace with SPDX-License-Identifier lines. Also update microdnf.spec and meson.build with the SPDX expression for the project. Some plugins are actually LGPL-2.1-or-later. Signed-off-by: David Cantrell --- dnf/dnf-command.c | 13 +------------ dnf/dnf-command.h | 13 +------------ dnf/dnf-main.c | 13 +------------ dnf/dnf-utils.c | 13 +------------ dnf/dnf-utils.h | 13 +------------ dnf/plugins/clean/clean.plugin | 2 +- dnf/plugins/clean/dnf-command-clean.c | 13 +------------ dnf/plugins/clean/dnf-command-clean.h | 13 +------------ dnf/plugins/distrosync/distrosync.plugin | 2 +- dnf/plugins/distrosync/dnf-command-distrosync.c | 13 +------------ dnf/plugins/distrosync/dnf-command-distrosync.h | 13 +------------ dnf/plugins/download/dnf-command-download.c | 13 +------------ dnf/plugins/download/dnf-command-download.h | 13 +------------ dnf/plugins/download/download.plugin | 2 +- dnf/plugins/install/dnf-command-install.c | 13 +------------ dnf/plugins/install/dnf-command-install.h | 13 +------------ dnf/plugins/install/install.plugin | 2 +- dnf/plugins/leaves/dnf-command-leaves.c | 13 +------------ dnf/plugins/leaves/dnf-command-leaves.h | 13 +------------ dnf/plugins/leaves/leaves.plugin | 2 +- dnf/plugins/makecache/dnf-command-makecache.c | 13 +------------ dnf/plugins/makecache/dnf-command-makecache.h | 13 +------------ dnf/plugins/makecache/makecache.plugin | 2 +- .../module_disable/dnf-command-module_disable.c | 16 +--------------- .../module_disable/dnf-command-module_disable.h | 16 +--------------- dnf/plugins/module_disable/module_disable.plugin | 2 +- .../module_enable/dnf-command-module_enable.c | 16 +--------------- .../module_enable/dnf-command-module_enable.h | 16 +--------------- dnf/plugins/module_enable/module_enable.plugin | 2 +- .../module_reset/dnf-command-module_reset.c | 16 +--------------- .../module_reset/dnf-command-module_reset.h | 16 +--------------- dnf/plugins/module_reset/module_reset.plugin | 2 +- dnf/plugins/reinstall/dnf-command-reinstall.c | 16 +--------------- dnf/plugins/reinstall/dnf-command-reinstall.h | 16 +--------------- dnf/plugins/reinstall/reinstall.plugin | 2 +- dnf/plugins/remove/dnf-command-remove.c | 13 +------------ dnf/plugins/remove/dnf-command-remove.h | 13 +------------ dnf/plugins/remove/remove.plugin | 2 +- dnf/plugins/repolist/dnf-command-repolist.c | 16 +--------------- dnf/plugins/repolist/dnf-command-repolist.h | 16 +--------------- dnf/plugins/repolist/repolist.plugin | 2 +- dnf/plugins/repoquery/dnf-command-repoquery.c | 16 +--------------- dnf/plugins/repoquery/dnf-command-repoquery.h | 16 +--------------- dnf/plugins/repoquery/repoquery.plugin | 2 +- dnf/plugins/swap/dnf-command-swap.c | 13 +------------ dnf/plugins/swap/dnf-command-swap.h | 13 +------------ dnf/plugins/swap/swap.plugin | 2 +- dnf/plugins/upgrade/dnf-command-upgrade.c | 13 +------------ dnf/plugins/upgrade/dnf-command-upgrade.h | 13 +------------ dnf/plugins/upgrade/upgrade.plugin | 2 +- meson.build | 2 +- microdnf.spec | 2 +- 52 files changed, 52 insertions(+), 473 deletions(-) diff --git a/dnf/dnf-command.c b/dnf/dnf-command.c index fa9d02a..c6ab313 100644 --- a/dnf/dnf-command.c +++ b/dnf/dnf-command.c @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command.h" diff --git a/dnf/dnf-command.h b/dnf/dnf-command.h index 16572c4..ef5358b 100644 --- a/dnf/dnf-command.h +++ b/dnf/dnf-command.h @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/dnf-main.c b/dnf/dnf-main.c index 661dfee..f146f2f 100644 --- a/dnf/dnf-main.c +++ b/dnf/dnf-main.c @@ -5,18 +5,7 @@ * Copyright © 2016-2017 Igor Gnatenko * Copyright © 2017-2021 Jaroslav Rohel * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include diff --git a/dnf/dnf-utils.c b/dnf/dnf-utils.c index 4bf593d..f657d8b 100644 --- a/dnf/dnf-utils.c +++ b/dnf/dnf-utils.c @@ -5,18 +5,7 @@ * Copyright © 2016-2017 Igor Gnatenko * Copyright © 2017-2020 Jaroslav Rohel * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-utils.h" diff --git a/dnf/dnf-utils.h b/dnf/dnf-utils.h index 38c1ae1..2910325 100644 --- a/dnf/dnf-utils.h +++ b/dnf/dnf-utils.h @@ -3,18 +3,7 @@ * Copyright © 2016 Colin Walters * Copyright © 2016-2017 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/clean/clean.plugin b/dnf/plugins/clean/clean.plugin index 5d9b872..391a139 100644 --- a/dnf/plugins/clean/clean.plugin +++ b/dnf/plugins/clean/clean.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_clean_register_types Name = clean Description = Remove cached data Authors = Jaroslav Rohel -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2017 Jaroslav Rohel X-Command-Syntax = clean all diff --git a/dnf/plugins/clean/dnf-command-clean.c b/dnf/plugins/clean/dnf-command-clean.c index 0f15ec3..d21bbfc 100644 --- a/dnf/plugins/clean/dnf-command-clean.c +++ b/dnf/plugins/clean/dnf-command-clean.c @@ -2,18 +2,7 @@ * * Copyright © 2017 Jaroslav Rohel * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-clean.h" diff --git a/dnf/plugins/clean/dnf-command-clean.h b/dnf/plugins/clean/dnf-command-clean.h index ed9a2eb..9dd65d5 100644 --- a/dnf/plugins/clean/dnf-command-clean.h +++ b/dnf/plugins/clean/dnf-command-clean.h @@ -2,18 +2,7 @@ * * Copyright © 2017 Jaroslav Rohel * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/distrosync/distrosync.plugin b/dnf/plugins/distrosync/distrosync.plugin index aa5a567..3edf4d0 100644 --- a/dnf/plugins/distrosync/distrosync.plugin +++ b/dnf/plugins/distrosync/distrosync.plugin @@ -4,7 +4,7 @@ Embedded = dnf_command_distrosync_register_types Name = distro-sync Description = Upgrade/downgrade packages to match versions in repositories Authors = Neal Gompa -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2021 Neal Gompa X-Command-Syntax = distro-sync [PACKAGE…] X-Alias-Name = dsync diff --git a/dnf/plugins/distrosync/dnf-command-distrosync.c b/dnf/plugins/distrosync/dnf-command-distrosync.c index 1aa536a..9a30200 100644 --- a/dnf/plugins/distrosync/dnf-command-distrosync.c +++ b/dnf/plugins/distrosync/dnf-command-distrosync.c @@ -2,18 +2,7 @@ * * Copyright © 2021 Neal Gompa * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-distrosync.h" diff --git a/dnf/plugins/distrosync/dnf-command-distrosync.h b/dnf/plugins/distrosync/dnf-command-distrosync.h index 711e705..72662dd 100644 --- a/dnf/plugins/distrosync/dnf-command-distrosync.h +++ b/dnf/plugins/distrosync/dnf-command-distrosync.h @@ -2,18 +2,7 @@ * * Copyright © 2021 Neal Gompa * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/download/dnf-command-download.c b/dnf/plugins/download/dnf-command-download.c index a36b950..701b6ce 100644 --- a/dnf/plugins/download/dnf-command-download.c +++ b/dnf/plugins/download/dnf-command-download.c @@ -3,18 +3,7 @@ * Copyright © 2020-2021 Daniel Hams * Copyright © 2021 Jaroslav Rohel * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-download.h" diff --git a/dnf/plugins/download/dnf-command-download.h b/dnf/plugins/download/dnf-command-download.h index a71eba3..a5cde4a 100644 --- a/dnf/plugins/download/dnf-command-download.h +++ b/dnf/plugins/download/dnf-command-download.h @@ -2,18 +2,7 @@ * * Copyright © 2020-2021 Daniel Hams * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/download/download.plugin b/dnf/plugins/download/download.plugin index f7467f0..091348f 100644 --- a/dnf/plugins/download/download.plugin +++ b/dnf/plugins/download/download.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_download_register_types Name = download Description = Download packages Authors = Daniel Hams -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2020-2021 Daniel Hams X-Command-Syntax = download [OPTION…] PACKAGE [PACKAGE…] diff --git a/dnf/plugins/install/dnf-command-install.c b/dnf/plugins/install/dnf-command-install.c index edb561b..faa81bd 100644 --- a/dnf/plugins/install/dnf-command-install.c +++ b/dnf/plugins/install/dnf-command-install.c @@ -4,18 +4,7 @@ * Copyright © 2016 Colin Walters * Copyright © 2016-2017 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-install.h" diff --git a/dnf/plugins/install/dnf-command-install.h b/dnf/plugins/install/dnf-command-install.h index aac63f5..8eaac5a 100644 --- a/dnf/plugins/install/dnf-command-install.h +++ b/dnf/plugins/install/dnf-command-install.h @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/install/install.plugin b/dnf/plugins/install/install.plugin index 45dd84b..3f806bc 100644 --- a/dnf/plugins/install/install.plugin +++ b/dnf/plugins/install/install.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_install_register_types Name = install Description = Install packages Authors = Richard Hughes , Colin Walters , Igor Gnatenko -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2010-2016 Richard Hughes, Colin Walters, Igor Gnatenko X-Command-Syntax = install PACKAGE [PACKAGE…] diff --git a/dnf/plugins/leaves/dnf-command-leaves.c b/dnf/plugins/leaves/dnf-command-leaves.c index 7789dfc..c70a7b2 100644 --- a/dnf/plugins/leaves/dnf-command-leaves.c +++ b/dnf/plugins/leaves/dnf-command-leaves.c @@ -2,18 +2,7 @@ * * Copyright © 2022 Emil Renner Berthing * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-leaves.h" diff --git a/dnf/plugins/leaves/dnf-command-leaves.h b/dnf/plugins/leaves/dnf-command-leaves.h index e78c857..d1a057b 100644 --- a/dnf/plugins/leaves/dnf-command-leaves.h +++ b/dnf/plugins/leaves/dnf-command-leaves.h @@ -2,18 +2,7 @@ * * Copyright © 2022 Emil Renner Berthing * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/leaves/leaves.plugin b/dnf/plugins/leaves/leaves.plugin index 4deb320..59d416f 100644 --- a/dnf/plugins/leaves/leaves.plugin +++ b/dnf/plugins/leaves/leaves.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_leaves_register_types Name = leaves Description = List installed packages not required by other installed packages Authors = Emil Renner Berthing -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright (C) 2022 Emil Renner Berthing X-Command-Syntax = leaves diff --git a/dnf/plugins/makecache/dnf-command-makecache.c b/dnf/plugins/makecache/dnf-command-makecache.c index 62bba0b..936f790 100644 --- a/dnf/plugins/makecache/dnf-command-makecache.c +++ b/dnf/plugins/makecache/dnf-command-makecache.c @@ -2,18 +2,7 @@ * * Copyright (C) 2021 Red Hat, Inc. * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-makecache.h" diff --git a/dnf/plugins/makecache/dnf-command-makecache.h b/dnf/plugins/makecache/dnf-command-makecache.h index 574372f..94708e7 100644 --- a/dnf/plugins/makecache/dnf-command-makecache.h +++ b/dnf/plugins/makecache/dnf-command-makecache.h @@ -2,18 +2,7 @@ * * Copyright (C) 2021 Red Hat, Inc. * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/makecache/makecache.plugin b/dnf/plugins/makecache/makecache.plugin index 4b9d4c2..5077583 100644 --- a/dnf/plugins/makecache/makecache.plugin +++ b/dnf/plugins/makecache/makecache.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_makecache_register_types Name = makecache Description = Generate the metadata cache Authors = Jaroslav Rohel -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright (C) 2021 Red Hat, Inc. X-Command-Syntax = makecache diff --git a/dnf/plugins/module_disable/dnf-command-module_disable.c b/dnf/plugins/module_disable/dnf-command-module_disable.c index ea904ca..d41be62 100644 --- a/dnf/plugins/module_disable/dnf-command-module_disable.c +++ b/dnf/plugins/module_disable/dnf-command-module_disable.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-module_disable.h" diff --git a/dnf/plugins/module_disable/dnf-command-module_disable.h b/dnf/plugins/module_disable/dnf-command-module_disable.h index 55f1786..5258a47 100644 --- a/dnf/plugins/module_disable/dnf-command-module_disable.h +++ b/dnf/plugins/module_disable/dnf-command-module_disable.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/module_disable/module_disable.plugin b/dnf/plugins/module_disable/module_disable.plugin index a4a4d25..82db0d6 100644 --- a/dnf/plugins/module_disable/module_disable.plugin +++ b/dnf/plugins/module_disable/module_disable.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_module_disable_register_types Name = module_disable Description = Disable a module stream Authors = Jaroslav Mracek -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2020 Red Hat, Inc. X-Command-Syntax = module disable module-spec [module-spec…] diff --git a/dnf/plugins/module_enable/dnf-command-module_enable.c b/dnf/plugins/module_enable/dnf-command-module_enable.c index 6383ed8..54a1190 100644 --- a/dnf/plugins/module_enable/dnf-command-module_enable.c +++ b/dnf/plugins/module_enable/dnf-command-module_enable.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-module_enable.h" diff --git a/dnf/plugins/module_enable/dnf-command-module_enable.h b/dnf/plugins/module_enable/dnf-command-module_enable.h index d489331..ec459f9 100644 --- a/dnf/plugins/module_enable/dnf-command-module_enable.h +++ b/dnf/plugins/module_enable/dnf-command-module_enable.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/module_enable/module_enable.plugin b/dnf/plugins/module_enable/module_enable.plugin index 4f7cc7e..992a872 100644 --- a/dnf/plugins/module_enable/module_enable.plugin +++ b/dnf/plugins/module_enable/module_enable.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_module_enable_register_types Name = module_enable Description = Enable a module stream Authors = Jaroslav Rohel -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2020 Red Hat, Inc. X-Command-Syntax = module enable module-spec [module-spec…] diff --git a/dnf/plugins/module_reset/dnf-command-module_reset.c b/dnf/plugins/module_reset/dnf-command-module_reset.c index 783f6c6..f77506b 100644 --- a/dnf/plugins/module_reset/dnf-command-module_reset.c +++ b/dnf/plugins/module_reset/dnf-command-module_reset.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-module_reset.h" diff --git a/dnf/plugins/module_reset/dnf-command-module_reset.h b/dnf/plugins/module_reset/dnf-command-module_reset.h index 65dcd47..2c27920 100644 --- a/dnf/plugins/module_reset/dnf-command-module_reset.h +++ b/dnf/plugins/module_reset/dnf-command-module_reset.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2020 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/module_reset/module_reset.plugin b/dnf/plugins/module_reset/module_reset.plugin index cee6d5e..8cb1881 100644 --- a/dnf/plugins/module_reset/module_reset.plugin +++ b/dnf/plugins/module_reset/module_reset.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_module_reset_register_types Name = module_reset Description = Reset a module stream Authors = Jaroslav Mracek -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2020 Red Hat, Inc. X-Command-Syntax = module reset module-spec [module-spec…] diff --git a/dnf/plugins/reinstall/dnf-command-reinstall.c b/dnf/plugins/reinstall/dnf-command-reinstall.c index ce33662..37b7fb3 100644 --- a/dnf/plugins/reinstall/dnf-command-reinstall.c +++ b/dnf/plugins/reinstall/dnf-command-reinstall.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-reinstall.h" diff --git a/dnf/plugins/reinstall/dnf-command-reinstall.h b/dnf/plugins/reinstall/dnf-command-reinstall.h index c187cca..34684c2 100644 --- a/dnf/plugins/reinstall/dnf-command-reinstall.h +++ b/dnf/plugins/reinstall/dnf-command-reinstall.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/reinstall/reinstall.plugin b/dnf/plugins/reinstall/reinstall.plugin index 4a45977..a3f43f7 100644 --- a/dnf/plugins/reinstall/reinstall.plugin +++ b/dnf/plugins/reinstall/reinstall.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_reinstall_register_types Name = reinstall Description = Reinstall packages Authors = Jaroslav Rohel -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2019 Red Hat, Inc. X-Command-Syntax = reinstall PACKAGE [PACKAGE…] diff --git a/dnf/plugins/remove/dnf-command-remove.c b/dnf/plugins/remove/dnf-command-remove.c index 4ac17ee..af85b66 100644 --- a/dnf/plugins/remove/dnf-command-remove.c +++ b/dnf/plugins/remove/dnf-command-remove.c @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-remove.h" diff --git a/dnf/plugins/remove/dnf-command-remove.h b/dnf/plugins/remove/dnf-command-remove.h index 0041987..c70c312 100644 --- a/dnf/plugins/remove/dnf-command-remove.h +++ b/dnf/plugins/remove/dnf-command-remove.h @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/remove/remove.plugin b/dnf/plugins/remove/remove.plugin index db4748a..d09af0e 100644 --- a/dnf/plugins/remove/remove.plugin +++ b/dnf/plugins/remove/remove.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_remove_register_types Name = remove Description = Remove packages Authors = Igor Gnatenko -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2016 Igor Gnatenko X-Command-Syntax = remove PACKAGE [PACKAGE…] diff --git a/dnf/plugins/repolist/dnf-command-repolist.c b/dnf/plugins/repolist/dnf-command-repolist.c index c0103d3..68fb68d 100644 --- a/dnf/plugins/repolist/dnf-command-repolist.c +++ b/dnf/plugins/repolist/dnf-command-repolist.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-repolist.h" diff --git a/dnf/plugins/repolist/dnf-command-repolist.h b/dnf/plugins/repolist/dnf-command-repolist.h index 5edaf1c..932781a 100644 --- a/dnf/plugins/repolist/dnf-command-repolist.h +++ b/dnf/plugins/repolist/dnf-command-repolist.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/repolist/repolist.plugin b/dnf/plugins/repolist/repolist.plugin index 28bb0a3..e5f6a1f 100644 --- a/dnf/plugins/repolist/repolist.plugin +++ b/dnf/plugins/repolist/repolist.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_repolist_register_types Name = repolist Description = List repositories Authors = Jaroslav Rohel -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2019 Red Hat, Inc. X-Command-Syntax = repolist [--all] [--disabled] [--enabled] diff --git a/dnf/plugins/repoquery/dnf-command-repoquery.c b/dnf/plugins/repoquery/dnf-command-repoquery.c index 281bf36..8b46df1 100644 --- a/dnf/plugins/repoquery/dnf-command-repoquery.c +++ b/dnf/plugins/repoquery/dnf-command-repoquery.c @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "dnf-command-repoquery.h" diff --git a/dnf/plugins/repoquery/dnf-command-repoquery.h b/dnf/plugins/repoquery/dnf-command-repoquery.h index 80fae53..2cc1b08 100644 --- a/dnf/plugins/repoquery/dnf-command-repoquery.h +++ b/dnf/plugins/repoquery/dnf-command-repoquery.h @@ -1,21 +1,7 @@ /* * Copyright (C) 2019 Red Hat, Inc. * - * Licensed under the GNU Lesser General Public License Version 2.1 - * - * 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 - * version 2.1 of the License, or (at your option) any later version. - * - * This library 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 this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * SPDX-License-Identifier: LGPL-2.1-or-later */ #pragma once diff --git a/dnf/plugins/repoquery/repoquery.plugin b/dnf/plugins/repoquery/repoquery.plugin index ece0167..1e2b24a 100644 --- a/dnf/plugins/repoquery/repoquery.plugin +++ b/dnf/plugins/repoquery/repoquery.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_repoquery_register_types Name = repoquery Description = Search for packages matching keyword Authors = Jaroslav Rohel -License = GPL-2.0+ +License = LGPL-2.1-or-later Copyright = Copyright (C) 2019 Red Hat, Inc. X-Command-Syntax = repoquery [OPTION…] [KEY…] diff --git a/dnf/plugins/swap/dnf-command-swap.c b/dnf/plugins/swap/dnf-command-swap.c index 8bebbd4..50ef1e3 100644 --- a/dnf/plugins/swap/dnf-command-swap.c +++ b/dnf/plugins/swap/dnf-command-swap.c @@ -2,18 +2,7 @@ * * Copyright (C) 2022 Red Hat, Inc. * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-swap.h" diff --git a/dnf/plugins/swap/dnf-command-swap.h b/dnf/plugins/swap/dnf-command-swap.h index 3eadb26..9170d26 100644 --- a/dnf/plugins/swap/dnf-command-swap.h +++ b/dnf/plugins/swap/dnf-command-swap.h @@ -2,18 +2,7 @@ * * Copyright (C) 2022 Red Hat, Inc. * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/swap/swap.plugin b/dnf/plugins/swap/swap.plugin index 3cef49f..8d5da4e 100644 --- a/dnf/plugins/swap/swap.plugin +++ b/dnf/plugins/swap/swap.plugin @@ -4,6 +4,6 @@ Embedded = dnf_command_swap_register_types Name = swap Description = Removes package and installs another in one transaction Authors = Jaroslav Rohel -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright (C) 2022 Red Hat, Inc. X-Command-Syntax = swap PACKAGE_TO_REMOVE PACKAGE_TO_INSTALL diff --git a/dnf/plugins/upgrade/dnf-command-upgrade.c b/dnf/plugins/upgrade/dnf-command-upgrade.c index ed81ad6..ac7d602 100644 --- a/dnf/plugins/upgrade/dnf-command-upgrade.c +++ b/dnf/plugins/upgrade/dnf-command-upgrade.c @@ -2,18 +2,7 @@ * * Copyright © 2016-2017 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "dnf-command-upgrade.h" diff --git a/dnf/plugins/upgrade/dnf-command-upgrade.h b/dnf/plugins/upgrade/dnf-command-upgrade.h index e08767d..fbcc990 100644 --- a/dnf/plugins/upgrade/dnf-command-upgrade.h +++ b/dnf/plugins/upgrade/dnf-command-upgrade.h @@ -2,18 +2,7 @@ * * Copyright © 2016 Igor Gnatenko * - * This program 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 2 of the License, or - * (at your option) any later version. - * - * This program 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 this program. If not, see . + * SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once diff --git a/dnf/plugins/upgrade/upgrade.plugin b/dnf/plugins/upgrade/upgrade.plugin index 87dd93e..8082431 100644 --- a/dnf/plugins/upgrade/upgrade.plugin +++ b/dnf/plugins/upgrade/upgrade.plugin @@ -4,7 +4,7 @@ Embedded = dnf_command_upgrade_register_types Name = upgrade Description = Upgrade packages Authors = Igor Gnatenko -License = GPL-2.0+ +License = GPL-2.0-or-later Copyright = Copyright © 2016 Igor Gnatenko X-Command-Syntax = upgrade [PACKAGE…] X-Alias-Name = update diff --git a/meson.build b/meson.build index 7714a0d..c0f7772 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('microdnf', 'c', version : '3.10.0', - license : 'GPL-2.0+', + license : 'GPL-2.0-or-later AND LGPL-2.1-or-later', default_options : [ 'b_asneeded=True', 'b_lundef=True', diff --git a/microdnf.spec b/microdnf.spec index 4789fa2..13da74f 100644 --- a/microdnf.spec +++ b/microdnf.spec @@ -5,7 +5,7 @@ Version: 3.10.0 Release: 2%{?dist} Summary: Lightweight implementation of DNF in C -License: GPL-2.0-or-later +License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://github.com/rpm-software-management/microdnf Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz