[Accel-config] [PATCH v1 3/3] accel-config: Update rpm scripts with new license details

ramesh.thomas at intel.com
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Add new license files and update LGPL version to 2.1

Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com>
---
 accfg-test.spec.in | 8 +++++---
 accfg.spec.in      | 6 ++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/accfg-test.spec.in b/accfg-test.spec.in
index 4643306..d1292e0 100644
--- a/accfg-test.spec.in
+++ b/accfg-test.spec.in
@@ -24,7 +24,7 @@ Utility library for configuring the accelerator subsystem.
 
 %package -n DNAME
 Summary:	Development files for libaccfg
-License:	LGPLv2
+License:	LGPLv2.1
 Group:		Development/Libraries
 Requires:	LNAME%{?_isa} = %{version}-%{release}
 
@@ -35,7 +35,7 @@ developing applications that use %{name}.
 
 %package -n LNAME
 Summary:	Configuration library for accelerator subsystem devices
-License:	LGPLv2
+License:	LGPLv2.1
 Group:		System Environment/Libraries
 
 %description -n LNAME
@@ -69,6 +69,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %files
 %defattr(-,root,root)
 %license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/accel-config-licenses LICENSE_GPL_2_0
 %{_bindir}/accel-config
 %{_mandir}/man1/accel-config*
 %{_sysconfdir}/accel-config/accel-config.conf.sample
@@ -77,6 +78,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %defattr(-,root,root)
 %doc README.md
 %license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/libaccel-config-licenses accfg/lib/LICENSE_LGPL_2_1
 %{_libdir}/libaccel-config.so.*
 
 %files -n DNAME
@@ -88,7 +90,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 %files -n %{name}-test
 %defattr(-,root,root)
-%license Documentation/COPYING
+%license Documentation/COPYING LICENSE_GPL_2_0
 %{_datadir}/accel-config/test/*
 
 %changelog
diff --git a/accfg.spec.in b/accfg.spec.in
index 6718995..826c2a8 100644
--- a/accfg.spec.in
+++ b/accfg.spec.in
@@ -24,7 +24,7 @@ Utility library for configuring the accelerator subsystem.
 
 %package -n DNAME
 Summary:	Development files for libaccfg
-License:	LGPLv2
+License:	LGPLv2.1
 Group:		Development/Libraries
 Requires:	LNAME%{?_isa} = %{version}-%{release}
 
@@ -35,7 +35,7 @@ developing applications that use %{name}.
 
 %package -n LNAME
 Summary:	Configuration library for accelerator subsystem devices
-License:	LGPLv2
+License:	LGPLv2.1
 Group:		System Environment/Libraries
 
 %description -n LNAME
@@ -61,6 +61,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %files
 %defattr(-,root,root)
 %license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/accel-config-licenses LICENSE_GPL_2_0
 %{_bindir}/accel-config
 %{_mandir}/man1/accel-config*
 %{_sysconfdir}/accel-config/accel-config.conf.sample
@@ -69,6 +70,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %defattr(-,root,root)
 %doc README.md
 %license Documentation/COPYING licenses/BSD-MIT licenses/CC0
+%license licenses/libaccel-config-licenses accfg/lib/LICENSE_LGPL_2_1
 %{_libdir}/libaccel-config.so.*
 
 %files -n DNAME
-- 
2.26.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.