-
-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
Priority: NormalNormal priorityNormal priority
Description
In the past, packagers were recommended against installing license files for individual packages. It even went so far as to ask people to remove these files if they were shipped by the build system. This is Really Bad, because it means we are in violation of most if not all open source licenses! We MUST install these files in packages.
Guidance on fixing
As of version 35.1.0, ypkg has a macro to easily install license files to the correct directory. Use this macro in the install section of packages that don't ship any license files so that the files are installed. Once built, they should be present in the package's /usr/share/licenses/$package/ directory.
Example
install : |
%ninja_install
# Install a single file from the project's source root called LICENSE
%install_license LICENSE
# Install multiple license files present in a directory in the project's source root called LICENSES.
%install_license LICENSES/*HuricanDev
Metadata
Metadata
Assignees
Labels
Priority: NormalNormal priorityNormal priority
Type
Projects
Status
In Progress