Fix SPDX license identifiers

Resolves: RHEL-35715
This commit is contained in:
Pavol Žáčik 2024-05-09 09:39:07 +02:00
parent c610b62e18
commit e8c5f7f551
No known key found for this signature in database
GPG Key ID: 5B5640AB63D575DE

View File

@ -6,11 +6,11 @@
Name: i2c-tools
Version: 4.3
Release: 10%{?dist}
Release: 11%{?dist}
Summary: A heterogeneous set of I2C tools for Linux
# Note: py-symbus/ is strictly GPL-2.0 (not "or later"), lib/ is
# LGPL-2.1+ and the rest is GPL-2.0+
License: GPL-2.0+
# Note: py-symbus/ is GPL-2.0-only, lib/ is LGPL-2.1-or-later
# and the rest is GPL-2.0-or-later
License: GPL-2.0-or-later
URL: https://i2c.wiki.kernel.org/index.php/I2C_Tools
Source0: https://www.kernel.org/pub/software/utils/i2c-tools/%{name}-%{version}.tar.xz
@ -34,7 +34,7 @@ decoding scripts, and more.
%package -n python3-i2c-tools
Summary: Python 3 bindings for Linux SMBus access through i2c-dev
License: GPL-2.0
License: GPL-2.0-only
%{?python_provide:%python_provide python3-i2c-tools}
Requires: libi2c%{?_isa} = %{version}-%{release}
%if %{without python2}
@ -49,7 +49,7 @@ Python 3 bindings for Linux SMBus access through i2c-dev
%package perl
Summary: i2c tools written in Perl
License: GPL-2.0+
License: GPL-2.0-or-later
Requires: libi2c%{?_isa} = %{version}-%{release}
%description perl
@ -57,7 +57,7 @@ A collection of tools written in perl for use with i2c devices.
%package -n libi2c
Summary: I2C/SMBus bus access library
License: LGPL-2.1+
License: LGPL-2.1-or-later
%description -n libi2c
libi2c offers a way for applications to interact with the devices
@ -65,7 +65,7 @@ connected to the I2C or SMBus buses of the system.
%package -n libi2c-devel
Summary: Development files for the I2C library
License: LGPL-2.1+
License: LGPL-2.1-or-later
Requires: libi2c%{?_isa} = %{version}-%{release}
# Remove in F30
Obsoletes: i2c-tools-devel < 4.0-1
@ -158,6 +158,9 @@ exit 0
%{_mandir}/man3/libi2c.3.*
%changelog
* Thu May 09 2024 Pavol Žáčik <pzacik@redhat.com> - 4.3-11
- Fix SPDX license identifiers
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild