Skip to content

RPM and PKG packages need license information #1829

Open
@MarieRoald

Description

Describe the bug

RPM and PKG packages include a short descriptor for the license, but after #1812 Briefcase will no longer know that (it either has a licence file or a licence text which may or may not be a short descriptor). Consequently, it is always set to "Unknown".

Prior to #1812 briefcase might have a way to know the license descriptor, but it is no guarantee that it matches the LICENSE file.

Steps to reproduce

  1. Build an RPM or PKG bundle
  2. Look at the spec file
  3. Observe that the "License" field is set to "Unknown"

Expected behavior

A short license descriptor is included in the RPM spec file and the PKGBUILD-file

Screenshots

No response

Environment

Any environment

Logs

No response

Additional context

No response

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions