finish SPDX license conversion

Resolves: RHEL-46960
This commit is contained in:
Lukáš Zaoral 2024-08-01 15:07:53 +02:00
parent 6216cfc8d1
commit 4a0dc2b17b
No known key found for this signature in database
GPG Key ID: 39157506DD67752D

28
xz.spec
View File

@ -7,12 +7,17 @@ Name: xz
# perl-Compress-Raw-Lzma, it has a strict xz version dep # perl-Compress-Raw-Lzma, it has a strict xz version dep
Epoch: 1 Epoch: 1
Version: 5.6.2 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 # official upstream release
Source0: https://github.com/tukaani-project/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz 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 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 %package libs
Summary: Libraries for decoding LZMA compression Summary: Libraries for decoding LZMA compression
License: Public Domain License: 0BSD
Obsoletes: %{name}-compat-libs < %{version}-%{release} Obsoletes: %{name}-compat-libs < %{version}-%{release}
%description libs %description libs
@ -57,7 +62,7 @@ Libraries for decoding files compressed with LZMA or XZ utils.
%package static %package static
Summary: Statically linked library for decoding LZMA compression Summary: Statically linked library for decoding LZMA compression
License: Public Domain License: 0BSD
%description static %description static
Statically linked library for decoding files compressed with LZMA or Statically linked library for decoding files compressed with LZMA or
@ -66,7 +71,7 @@ XZ utils. Most users should *not* install this.
%package devel %package devel
Summary: Devel libraries & headers for liblzma Summary: Devel libraries & headers for liblzma
License: Public Domain License: 0BSD
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
%description devel %description devel
@ -75,8 +80,8 @@ Devel libraries and headers for liblzma.
%package lzma-compat %package lzma-compat
Summary: Older LZMA format compatibility binaries Summary: Older LZMA format compatibility binaries
# Just a set of symlinks to 'xz' + two Public Domain binaries. # Just a set of symlinks to some files in the 'xz' package.
License: Public Domain License: 0BSD AND GPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: lzma < %{version} Obsoletes: lzma < %{version}
Provides: lzma = %{version} Provides: lzma = %{version}
@ -172,6 +177,9 @@ LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
%changelog %changelog
* Thu Aug 01 2024 Lukáš Zaoral <lzaoral@redhat.com> - 1:5.6.2-2
- finish SPDX license conversion (RHEL-46960)
* Tue Jul 16 2024 Jindrich Novy <jnovy@redhat.com> * Tue Jul 16 2024 Jindrich Novy <jnovy@redhat.com>
- Update to https://github.com/tukaani-project/xz/releases/tag/v5.6.2 - Update to https://github.com/tukaani-project/xz/releases/tag/v5.6.2
- Resolves: RHEL-43733 - Resolves: RHEL-43733