packaging: Add LGPL-2.1+ license to packages 18/272118/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060851 accepted/tizen/7.0/unified/hotfix/20221116.110657 accepted/tizen/unified/20220310.120839 submit/tizen/20220310.051856 tizen_7.0_m2_release
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 9 Mar 2022 16:04:36 +0000 (17:04 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 9 Mar 2022 16:04:36 +0000 (17:04 +0100)
According to guildelines the License: field should contain all
licenses that were used to build given package.

Change-Id: Idc03ac568f0b621bbd6bda1552d5ef728a8e3a5a

packaging/cryptsetup.spec

index 3662a88..5c63203 100644 (file)
@@ -2,7 +2,7 @@ Name:     cryptsetup
 Summary:  The cryptsetup
 Version:  2.3.3
 Release:  1
-License:  GPL-2.0+
+License:  GPL-2.0+, LGPL-2.1+
 Group:    Base/Device Management
 URL:      http://code.google.com/p/cryptsetup/
 Source0:  %{name}-%{version}.tar.xz
@@ -31,14 +31,14 @@ setup cryptographic volumes for dm-crypt (including LUKS extension)
 %package devel
 Summary:    The cryptsetup development package
 Group:      Development/Libraries
-License:    GPL-2.0+
+License:    GPL-2.0+, LGPL-2.1+
 Requires:   %{name} = %{version}-%{release}
 
 %description devel
 cryptsetup development package
 
 %package locale
-License:    GPL-2.0+
+License:    GPL-2.0+, LGPL-2.1+
 Summary:    The cryptsetup locale package
 Group:      Base/Device Management
 Requires:   %{name} = %{version}-%{release}
@@ -80,7 +80,7 @@ rm -rf %{buildroot}
 
 %files
 %manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
 %{_libdir}/libcryptsetup.so.*
 %{_prefix}/lib/tmpfiles.d/cryptsetup.conf
 %{_sbindir}/cryptsetup
@@ -88,14 +88,14 @@ rm -rf %{buildroot}
 
 %files devel
 %manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
 %{_includedir}/libcryptsetup.h
 %{_libdir}/libcryptsetup.so
 %{_libdir}/pkgconfig/libcryptsetup.pc
 
 %files locale
 %manifest %{name}.manifest
-%license COPYING.GPL-2.0+
+%license COPYING.GPL-2.0+ COPYING.LGPL-2.1+
 %{_datarootdir}/locale/cs/LC_MESSAGES/cryptsetup.mo
 %{_datarootdir}/locale/da/LC_MESSAGES/cryptsetup.mo
 %{_datarootdir}/locale/de/LC_MESSAGES/cryptsetup.mo