Skip to contentSkip to conversation

ndctl.spec.in: update for license reworks

PATCH New Vishal Verma 1 participant 1 message Dec 19, 2020 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Vishal Verma

author maintainer
#0 lore raw

PATCH 1/1 ndctl.spec.in: update for license reworks

Commit 14eacf0d694a ("Rework license identification") reworked license identification, making the files listed in ndctl.spec.in for %license obsolete. This updates those sections in the RPM spec to match the current layout of license files.

Fixes 14eacf0d694a ("Rework license identification")
Cc Dan Williams <[email protected]>
---
 ndctl.spec.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
ndctl.spec.in +6 -6
index 056c530..0563b2d 100644
@@ -109,7 +109,7 @@ make check
 
 %files
 %defattr(-,root,root)
-%license util/COPYING licenses/BSD-MIT licenses/CC0
+%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
 %{_bindir}/ndctl
 %{_mandir}/man1/ndctl*
 %{bashcompdir}/
@@ -121,7 +121,7 @@ make check
 
 %files -n daxctl
 %defattr(-,root,root)
-%license util/COPYING licenses/BSD-MIT licenses/CC0
+%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
 %{_bindir}/daxctl
 %{_mandir}/man1/daxctl*
 %{_datadir}/daxctl/daxctl.conf
@@ -129,25 +129,25 @@ make check
 %files -n LNAME
 %defattr(-,root,root)
 %doc README.md
-%license COPYING licenses/BSD-MIT licenses/CC0
+%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
 %{_libdir}/libndctl.so.*
 
 %files -n DAX_LNAME
 %defattr(-,root,root)
 %doc README.md
-%license COPYING licenses/BSD-MIT licenses/CC0
+%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
 %{_libdir}/libdaxctl.so.*
 
 %files -n DNAME
 %defattr(-,root,root)
-%license COPYING
+%license LICENSES/preferred/LGPL-2.1
 %{_includedir}/ndctl/
 %{_libdir}/libndctl.so
 %{_libdir}/pkgconfig/libndctl.pc
 
 %files -n DAX_DNAME
 %defattr(-,root,root)
-%license COPYING
+%license LICENSES/preferred/LGPL-2.1
 %{_includedir}/daxctl/
 %{_libdir}/libdaxctl.so
 %{_libdir}/pkgconfig/libdaxctl.pc
Signature · 4 lines
2.26.2
_______________________________________________
Linux-nvdimm mailing list -- [email protected]
To unsubscribe send an email to [email protected]