packaging: add license files to all sub components 59/123059/2 accepted/tizen_base tizen_base accepted/tizen/base/20170407.191304 submit/tizen_base/20170406.043153
authorChan Lee <chan45.lee@samsung.com>
Tue, 4 Apr 2017 08:14:03 +0000 (17:14 +0900)
committerChan Lee <chan45.lee@samsung.com>
Wed, 5 Apr 2017 04:10:59 +0000 (13:10 +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>
packaging/linaro-glibc.spec

index bfb3bf6..bacbc27 100755 (executable)
@@ -490,7 +490,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
@@ -595,6 +595,7 @@ done
 
 %files obsolete
 %manifest %{name}.manifest
+%license COPYING.LIB
 %defattr (755,root,root,755)
 %dir /%{_lib}/obsolete/
        #%dir /%{_lib}/obsolete/noversion
@@ -670,6 +671,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
@@ -710,6 +712,7 @@ done
 
 %files extra
 %manifest %{name}.manifest
+%license COPYING.LIB
 %defattr(-,root,root)
 %{_bindir}/makedb
 /var/db/Makefile