From b2c315037c611b58774e3616083b50b7def695ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Wed, 14 Feb 2024 10:54:07 +0100 Subject: [PATCH] fix incorrect License field syntax This fixes the following error generated by the `license-validate` tool: ``` $ license-validate -v 'GPL-2.0-only and LGPL-2.1-only' No terminal matches 'a' in the current parser context, at line 1 col 14 GPL-2.0-only and LGPL-2.1-only ^ Expected one of: * AND * OR Not a valid license string ``` (cherry picked from commit ea6b51dd8d0c4d3638246aa651859e21800138cd) Resolves: RHEL-25458 --- ledmon.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ledmon.spec b/ledmon.spec index e26e8a5..104f8f8 100644 --- a/ledmon.spec +++ b/ledmon.spec @@ -1,8 +1,8 @@ Summary: Enclosure LED Utilities Name: ledmon Version: 0.97 -Release: 5%{?dist} -License: GPL-2.0-only and LGPL-2.1-only +Release: 6%{?dist} +License: GPL-2.0-only AND LGPL-2.1-only URL: https://github.com/intel/ledmon Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -60,6 +60,9 @@ autoreconf -fiv %{_unitdir}/ledmon.service %changelog +* Wed Feb 14 2024 Lukáš Zaoral - 0.97-6 +- fix incorrect License field syntax + * Fri Feb 09 2024 Dan Horák - 0.97-5 - rebuilt for sg3_utils 1.48