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
This commit is contained in:
Lukáš Zaoral 2024-02-14 10:54:07 +01:00 committed by Jan Macku
parent db9992b00e
commit b2c315037c

View File

@ -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 <lzaoral@redhat.com> - 0.97-6
- fix incorrect License field syntax
* Fri Feb 09 2024 Dan Horák <dan@danny.cz> - 0.97-5
- rebuilt for sg3_utils 1.48