diff mbox series

[ndctl] ndctl.spec.in: Use SPDX identifiers in License fields

Message ID 20231026-spec_license_fix-v1-1-45e4c7866cd3@intel.com (mailing list archive)
State Accepted
Commit 3e9c3e6640c5ad559facff5b670bd884245c99b9
Headers show
Series [ndctl] ndctl.spec.in: Use SPDX identifiers in License fields | expand

Commit Message

Verma, Vishal L Oct. 26, 2023, 7:04 p.m. UTC
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 <dan.j.williams@intel.com>
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2243847
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 ndctl.spec.in | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)


---
base-commit: d32dc015ad5b18fc37d3d7f10dd1f0a5442d3b7c
change-id: 20231026-spec_license_fix-cfe7c9bf1a0f

Best regards,

Comments

Dave Jiang Oct. 30, 2023, 5:58 p.m. UTC | #1
On 10/26/23 12:04, Vishal Verma wrote:
> 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 <dan.j.williams@intel.com>
> Reported-by: Jeff Moyer <jmoyer@redhat.com>
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=2243847
> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>

> ---
>  ndctl.spec.in | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/ndctl.spec.in b/ndctl.spec.in
> index 7702f95..cb9cb6f 100644
> --- a/ndctl.spec.in
> +++ b/ndctl.spec.in
> @@ -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,
Jeff Moyer Nov. 7, 2023, 5:28 p.m. UTC | #2
Vishal Verma <vishal.l.verma@intel.com> writes:

> 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!

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>

>
> Cc: Dan Williams <dan.j.williams@intel.com>
> Reported-by: Jeff Moyer <jmoyer@redhat.com>
> Link: https://bugzilla.redhat.com/show_bug.cgi?id=2243847
> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
> ---
>  ndctl.spec.in | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/ndctl.spec.in b/ndctl.spec.in
> index 7702f95..cb9cb6f 100644
> --- a/ndctl.spec.in
> +++ b/ndctl.spec.in
> @@ -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,
diff mbox series

Patch

diff --git a/ndctl.spec.in b/ndctl.spec.in
index 7702f95..cb9cb6f 100644
--- a/ndctl.spec.in
+++ b/ndctl.spec.in
@@ -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.