Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25493

Invalid license tag in the spec file

    • file-5.45-5.el10+4
    • None
    • Critical
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      The License: field is not a valid SPDX expression:

      • file:
        $ license-validate -v 'BSD-2-Clause-Darwin AND BSD-2-Clause'
        No terminal matches '-' in the current parser context, at line 1 col 13
        
        BSD-2-Clause-Darwin AND BSD-2-Clause
                    ^
        Expected one of:
                * AND
                * OR
        
        Not a valid license string
        
      • file-libs:
        $ license-validate -v BSD
        No terminal matches 'B' in the current parser context, at line 1 col 1
        
        BSD
        ^
        ...
        Not a valid license string
        

      The first error should be resolved with an update of the fedora-license-data package to recognize BSD-2-Clause-Darwin. The second error will be resolved with a backport of the following PR to CentOS Stream 10: https://src.fedoraproject.org/rpms/file/c/d905b32b46e079cb20221545ddd819904ab086b7?branch=rawhide

              vmihalko Vincent Mihalkovic
              rh-ee-lzaoral Lukáš Zaoral
              Vincent Mihalkovic Vincent Mihalkovic
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: