packaging: add license files to all sub components
authorDongkyun, Son <dongkyun.s@samsung.com>
Fri, 7 Apr 2017 01:31:16 +0000 (10:31 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Wed, 3 May 2023 10:47:16 +0000 (19:47 +0900)
The license files are added to only library components because they could be
included to target binary.

Change-Id: I7cb352ba1457709ba440b1a926056f1b1d74bd3e
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
packaging/glibc.spec

index 93afa39..dbbd7f7 100644 (file)
@@ -492,7 +492,7 @@ done
 %manifest %{name}.manifest
 # glibc
 %defattr(-,root,root)
-%license LICENSES
+%license LICENSES COPYING COPYING.LIB
 %config(noreplace) /etc/bindresvport.blacklist
 %config /etc/ld.so.conf
 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
@@ -597,6 +597,7 @@ done
 
 %files obsolete
 %manifest %{name}.manifest
+%license COPYING.LIB
 %defattr (755,root,root,755)
 %dir /%{_lib}/obsolete/
        #%dir /%{_lib}/obsolete/noversion
@@ -606,6 +607,7 @@ done
 
 %files locale -f libc.lang
 %manifest %{name}.manifest
+%license COPYING COPYING.LIB
 %defattr(-,root,root)
 %{_datadir}/locale/locale.alias
 %if %{build_locales}
@@ -671,6 +673,7 @@ done
 %if %{build_profile}
 %files profile
 %manifest %{name}.manifest
+%license COPYING COPYING.LIB
 %defattr(-,root,root)
 %{_libdir}/libc_p.a
 %{_libdir}/libBrokenLocale_p.a
@@ -711,6 +714,7 @@ done
 
 %files extra
 %manifest %{name}.manifest
+%license COPYING.LIB
 %defattr(-,root,root)
 %{_bindir}/makedb
 /var/db/Makefile