diff --git a/xz.spec b/xz.spec index 86e0a8e..ba150ec 100644 --- a/xz.spec +++ b/xz.spec @@ -7,12 +7,17 @@ Name: xz # perl-Compress-Raw-Lzma, it has a strict xz version dep Epoch: 1 Version: 5.6.2 -Release: 1%{?dist} +Release: 2%{?dist} + +# liblzma - 0BSD +# xz{,dec}, lzma{dec,info} - 0BSD +# - getopt_long - LGPL-2.1-or-later - not built in Fedora +# xz{grep,diff,less,more} - GPL-2.0-or-later +# docs - BSD0 AND LicenseRef-Fedora-Public-Domain +# man pages and translations - 0BSD AND LicenseRef-Fedora-Public-Domain +# See: https://gitlab.com/fedora/legal/fedora-license-data/-/issues/547 +License: 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain -# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are -# GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its -# OK), documentation is Public Domain. -License: GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain # official upstream release Source0: https://github.com/tukaani-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/tukaani-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig @@ -48,7 +53,7 @@ decompression speed fast. %package libs Summary: Libraries for decoding LZMA compression -License: Public Domain +License: 0BSD Obsoletes: %{name}-compat-libs < %{version}-%{release} %description libs @@ -57,7 +62,7 @@ Libraries for decoding files compressed with LZMA or XZ utils. %package static Summary: Statically linked library for decoding LZMA compression -License: Public Domain +License: 0BSD %description static Statically linked library for decoding files compressed with LZMA or @@ -66,7 +71,7 @@ XZ utils. Most users should *not* install this. %package devel Summary: Devel libraries & headers for liblzma -License: Public Domain +License: 0BSD Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} %description devel @@ -75,8 +80,8 @@ Devel libraries and headers for liblzma. %package lzma-compat Summary: Older LZMA format compatibility binaries -# Just a set of symlinks to 'xz' + two Public Domain binaries. -License: Public Domain +# Just a set of symlinks to some files in the 'xz' package. +License: 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Obsoletes: lzma < %{version} Provides: lzma = %{version} @@ -172,6 +177,9 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check %changelog +* Thu Aug 01 2024 Lukáš Zaoral - 1:5.6.2-2 +- finish SPDX license conversion (RHEL-46960) + * Tue Jul 16 2024 Jindrich Novy - Update to https://github.com/tukaani-project/xz/releases/tag/v5.6.2 - Resolves: RHEL-43733