From d6bdb446f8da47ac2af8c309de8e7c80beae850e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 25 Jan 2026 13:30:46 +0200 Subject: [PATCH] liblzma: Add the "License" property to liblzma.pc The "License" property is a pkgconf extension. See pc(5). pkg-config 0.29.2 (2017) ignores unrecognized properties so this commit shouldn't create compatibility issues. pkgconf provides bomtool which uses the "License" property to generate a software bill of materials. In pkgconf.git there is spdxtool for the same task but with different output format. The pkgconf extensions "Copyright" and "Maintainer" would also be used by bomtool and spdxtool, but I don't want to add those properties at least for now. Co-authored-by: Nobuhiro Iwamatsu Closes: https://github.com/tukaani-project/xz/pull/178 --- src/liblzma/liblzma.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/liblzma/liblzma.pc.in b/src/liblzma/liblzma.pc.in index a432992b..5efb4945 100644 --- a/src/liblzma/liblzma.pc.in +++ b/src/liblzma/liblzma.pc.in @@ -8,6 +8,7 @@ includedir=@includedir@ Name: liblzma Description: General purpose data compression library +License: 0BSD URL: @PACKAGE_URL@ Version: @PACKAGE_VERSION@ Cflags: -I${includedir}