https://bugzilla.redhat.com/show_bug.cgi?id=2231252



--- Comment #39 from Keyue Hu <[email protected]> ---
I found it a little awkward but old versions of rpmlints shipped with RHEL7
don't like SPDX licence field. I have to do something like, so it won't trouble
me either of rhel build or copr build.

  # fedora supports spdx license
  # see /etc/xdg/rpmlint/fedora-spdx-licenses.toml
  %if 0%{?fedora}
  License: GPL-2.0-only
  %else
  # old distributions don't
  # see
https://github.com/rpm-software-management/rpmlint/blob/main/configs/Fedora/licenses.toml
  License: GPLv2
  %endif


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2231252

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202231252%23c39
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to