ndctl.spec.in: Use SPDX identifiers in License fields
Vishal Verma
maintainerPATCH 1/1 ndctl.spec.in: Use SPDX identifiers in License fields
There's a push to use SPDX license IDs in .spec files:
https://docs.fedoraproject.org/en-US/legal/update-existing-packages/
Update the various License: fields in the spec to conform to this.
--- ndctl.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
ndctl.spec.in +9 -9
@@ -2,7 +2,7 @@ Name: ndctl Version: VERSION Release: 1%{?dist} Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) -License: GPLv2 +License: GPL-2.0-only and LGPL-2.1-only and CC0-1.0 and MIT Url: https://github.com/pmem/ndctl Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
@@ -48,7 +48,7 @@ Firmware Interface Table). %package -n DNAME Summary: Development files for libndctl -License: LGPLv2 +License: LGPL-2.1-only Requires: LNAME%{?_isa} = %{version}-%{release} %description -n DNAME
@@ -57,7 +57,7 @@ developing applications that use %{name}. %package -n daxctl Summary: Manage Device-DAX instances -License: GPLv2 +License: GPL-2.0-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n daxctl
@@ -68,7 +68,7 @@ filesystem. %package -n cxl-cli Summary: Manage CXL devices -License: GPLv2 +License: GPL-2.0-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n cxl-cli
@@ -77,7 +77,7 @@ the Linux kernel CXL devices. %package -n CXL_DNAME Summary: Development files for libcxl -License: LGPLv2 +License: LGPL-2.1-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n CXL_DNAME
@@ -86,7 +86,7 @@ that use libcxl, a library for enumerating and communicating with CXL devices. %package -n DAX_DNAME Summary: Development files for libdaxctl -License: LGPLv2 +License: LGPL-2.1-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n DAX_DNAME
@@ -98,7 +98,7 @@ mappings of performance / feature-differentiated memory. %package -n LNAME Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory) -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT Requires: DAX_LNAME%{?_isa} = %{version}-%{release}
@@ -107,7 +107,7 @@ Libraries for %{name}. %package -n DAX_LNAME Summary: Management library for "Device DAX" devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n DAX_LNAME Device DAX is a facility for establishing DAX mappings of performance /
@@ -116,7 +116,7 @@ control API for these devices. %package -n CXL_LNAME Summary: Management library for CXL devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n CXL_LNAME libcxl is a library for enumerating and communicating with CXL devices.
---
base-commit: d32dc015ad5b18fc37d3d7f10dd1f0a5442d3b7c
change-id: 20231026-spec_license_fix-cfe7c9bf1a0f
Best regards,
Signature · 1 line
Vishal Verma <[email protected]>
Quoted 9 lines · Vishal Verma
There's a push to use SPDX license IDs in .spec files:
https://docs.fedoraproject.org/en-US/legal/update-existing-packages/Update the various License: fields in the spec to conform to this.
Cc Dan Williams <[email protected]>Reported-by Jeff Moyer <[email protected]>Signed-off-by Vishal Verma <[email protected]>
Quoted 95 lines
--- ndctl.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)ndctl.spec.in +9
-10@@ -2,7 +2,7 @@ Name: ndctl Version: VERSION Release: 1%{?dist} Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) -License: GPLv2 +License: GPL-2.0-only and LGPL-2.1-only and CC0-1.0 and MIT Url: https://github.com/pmem/ndctl Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz@@ -48,7 +48,7 @@ Firmware Interface Table). %package -n DNAME Summary: Development files for libndctl -License: LGPLv2 +License: LGPL-2.1-only Requires: LNAME%{?_isa} = %{version}-%{release} %description -n DNAME@@ -57,7 +57,7 @@ developing applications that use %{name}. %package -n daxctl Summary: Manage Device-DAX instances -License: GPLv2 +License: GPL-2.0-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n daxctl@@ -68,7 +68,7 @@ filesystem. %package -n cxl-cli Summary: Manage CXL devices -License: GPLv2 +License: GPL-2.0-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n cxl-cli@@ -77,7 +77,7 @@ the Linux kernel CXL devices. %package -n CXL_DNAME Summary: Development files for libcxl -License: LGPLv2 +License: LGPL-2.1-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n CXL_DNAME@@ -86,7 +86,7 @@ that use libcxl, a library for enumerating and communicating with CXL devices. %package -n DAX_DNAME Summary: Development files for libdaxctl -License: LGPLv2 +License: LGPL-2.1-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n DAX_DNAME@@ -98,7 +98,7 @@ mappings of performance / feature-differentiated memory. %package -n LNAME Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory) -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT Requires: DAX_LNAME%{?_isa} = %{version}-%{release}@@ -107,7 +107,7 @@ Libraries for %{name}. %package -n DAX_LNAME Summary: Management library for "Device DAX" devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n DAX_LNAME Device DAX is a facility for establishing DAX mappings of performance /@@ -116,7 +116,7 @@ control API for these devices. %package -n CXL_LNAME Summary: Management library for CXL devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n CXL_LNAME libcxl is a library for enumerating and communicating with CXL devices. ---base-commit:
d32dc015ad5b18fc37d3d7f10dd1f0a5442d3b7c
change-id: 20231026-spec_license_fix-cfe7c9bf1a0fBest regards,
Quoted 4 lines · Vishal Verma
There's a push to use SPDX license IDs in .spec files:
https://docs.fedoraproject.org/en-US/legal/update-existing-packages/Update the various License: fields in the spec to conform to this.
Thanks, Vishal!
Quoted 100 lines
Cc Dan Williams <[email protected]>Reported-by Jeff Moyer <[email protected]>Signed-off-by Vishal Verma <[email protected]>--- ndctl.spec.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)ndctl.spec.in +9
-10@@ -2,7 +2,7 @@ Name: ndctl Version: VERSION Release: 1%{?dist} Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory) -License: GPLv2 +License: GPL-2.0-only and LGPL-2.1-only and CC0-1.0 and MIT Url: https://github.com/pmem/ndctl Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz@@ -48,7 +48,7 @@ Firmware Interface Table). %package -n DNAME Summary: Development files for libndctl -License: LGPLv2 +License: LGPL-2.1-only Requires: LNAME%{?_isa} = %{version}-%{release} %description -n DNAME@@ -57,7 +57,7 @@ developing applications that use %{name}. %package -n daxctl Summary: Manage Device-DAX instances -License: GPLv2 +License: GPL-2.0-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n daxctl@@ -68,7 +68,7 @@ filesystem. %package -n cxl-cli Summary: Manage CXL devices -License: GPLv2 +License: GPL-2.0-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n cxl-cli@@ -77,7 +77,7 @@ the Linux kernel CXL devices. %package -n CXL_DNAME Summary: Development files for libcxl -License: LGPLv2 +License: LGPL-2.1-only Requires: CXL_LNAME%{?_isa} = %{version}-%{release} %description -n CXL_DNAME@@ -86,7 +86,7 @@ that use libcxl, a library for enumerating and communicating with CXL devices. %package -n DAX_DNAME Summary: Development files for libdaxctl -License: LGPLv2 +License: LGPL-2.1-only Requires: DAX_LNAME%{?_isa} = %{version}-%{release} %description -n DAX_DNAME@@ -98,7 +98,7 @@ mappings of performance / feature-differentiated memory. %package -n LNAME Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory) -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT Requires: DAX_LNAME%{?_isa} = %{version}-%{release}@@ -107,7 +107,7 @@ Libraries for %{name}. %package -n DAX_LNAME Summary: Management library for "Device DAX" devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n DAX_LNAME Device DAX is a facility for establishing DAX mappings of performance /@@ -116,7 +116,7 @@ control API for these devices. %package -n CXL_LNAME Summary: Management library for CXL devices -License: LGPLv2 +License: LGPL-2.1-only and CC0-1.0 and MIT %description -n CXL_LNAME libcxl is a library for enumerating and communicating with CXL devices. ---base-commit:
d32dc015ad5b18fc37d3d7f10dd1f0a5442d3b7c
change-id: 20231026-spec_license_fix-cfe7c9bf1a0fBest regards,