summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun, Son <dongkyun.s@samsung.com>2017-04-07 10:27:29 +0900
committerDongkyun, Son <dongkyun.s@samsung.com>2017-04-11 08:39:34 +0900
commitdf0fcdda2632f56997dd54880cbcba9fd4e25e0c (patch)
tree947bd5922b705707e1b67dda5612e3612ac94c22
parentb6eb4bbf4fb30fa2d9fe01a117034265d82f0f9a (diff)
downloadlinaro-gcc-df0fcdda2632f56997dd54880cbcba9fd4e25e0c.tar.gz
linaro-gcc-df0fcdda2632f56997dd54880cbcba9fd4e25e0c.tar.bz2
linaro-gcc-df0fcdda2632f56997dd54880cbcba9fd4e25e0c.zip
packaging: add license files to all sub components
The license files are added to only library components because they could be included to target binary. Change-Id: I7fb9885843794ea47c29833ead402386d890d663 Signed-off-by: Chan Lee <chan45.lee@samsung.com> Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
-rw-r--r--packaging/gcc-aarch64.spec23
-rw-r--r--packaging/gcc-armv7l.spec23
-rw-r--r--packaging/linaro-gcc.spec23
3 files changed, 63 insertions, 6 deletions
diff --git a/packaging/gcc-aarch64.spec b/packaging/gcc-aarch64.spec
index 9f92181c5d4..26dad99ae90 100644
--- a/packaging/gcc-aarch64.spec
+++ b/packaging/gcc-aarch64.spec
@@ -226,7 +226,7 @@ operations.
%package -n libitm
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm
The runtime library needed to run programs compiled with the
@@ -491,7 +491,7 @@ operations.
%package -n libitm-32bit
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm-32bit
The runtime library needed to run programs compiled with the
@@ -1035,6 +1035,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libstdc++
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libstdc++.so.*
@@ -1048,11 +1049,13 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgcc_s.so.*
%files -n libgomp
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgomp.so.*
@@ -1064,6 +1067,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libasan.so*
%endif
@@ -1071,6 +1075,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/liblsan.so*
%endif
@@ -1078,6 +1083,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %tsan_arch
%files -n libtsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libtsan.so*
%endif
@@ -1085,6 +1091,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libatomic.so.*
%endif
@@ -1092,6 +1099,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %itm_arch
%files -n libitm
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libitm.so.*
%endif
@@ -1106,6 +1114,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libubsan.so.*
%endif
@@ -1113,6 +1122,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %quadmath_arch
%files -n libquadmath
%manifest gcc.manifest
+%license COPYING.LIB
%defattr(-,root,root)
%{libdir}/libquadmath.so.*
%endif
@@ -1146,6 +1156,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libasan.so.*
%endif
@@ -1153,6 +1164,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/liblsan.so.*
%endif
@@ -1160,6 +1172,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libatomic.so.*
%endif
@@ -1172,22 +1185,26 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgcc_s.so.*
%files -n libgomp-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgomp.so.*
%ifarch %itm_arch
%files -n libitm-32bit
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libitm.so.*
%endif
%ifarch %quadmath_arch
%files -n libquadmath-32bit
+%license COPYING.LIB
%defattr(-,root,root)
%{libsubdir}/32/libquadmath.so.*
%endif
@@ -1195,12 +1212,14 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libubsan.so.*
%endif
%files -n libstdc++-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libstdc++.so.*
%exclude %{libsubdir}/32/libstdc++.so.*-gdb.py
diff --git a/packaging/gcc-armv7l.spec b/packaging/gcc-armv7l.spec
index a7ed6176d11..7a1c5a68fcd 100644
--- a/packaging/gcc-armv7l.spec
+++ b/packaging/gcc-armv7l.spec
@@ -226,7 +226,7 @@ operations.
%package -n libitm
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm
The runtime library needed to run programs compiled with the
@@ -491,7 +491,7 @@ operations.
%package -n libitm-32bit
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm-32bit
The runtime library needed to run programs compiled with the
@@ -1035,6 +1035,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libstdc++
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libstdc++.so.*
@@ -1048,11 +1049,13 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgcc_s.so.*
%files -n libgomp
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgomp.so.*
@@ -1064,6 +1067,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libasan.so*
%endif
@@ -1071,6 +1075,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/liblsan.so*
%endif
@@ -1078,6 +1083,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %tsan_arch
%files -n libtsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libtsan.so*
%endif
@@ -1085,6 +1091,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libatomic.so.*
%endif
@@ -1092,6 +1099,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %itm_arch
%files -n libitm
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libitm.so.*
%endif
@@ -1106,6 +1114,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libubsan.so.*
%endif
@@ -1113,6 +1122,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %quadmath_arch
%files -n libquadmath
%manifest gcc.manifest
+%license COPYING.LIB
%defattr(-,root,root)
%{libdir}/libquadmath.so.*
%endif
@@ -1146,6 +1156,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libasan.so.*
%endif
@@ -1153,6 +1164,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/liblsan.so.*
%endif
@@ -1160,6 +1172,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libatomic.so.*
%endif
@@ -1172,22 +1185,26 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgcc_s.so.*
%files -n libgomp-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgomp.so.*
%ifarch %itm_arch
%files -n libitm-32bit
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libitm.so.*
%endif
%ifarch %quadmath_arch
%files -n libquadmath-32bit
+%license COPYING.LIB
%defattr(-,root,root)
%{libsubdir}/32/libquadmath.so.*
%endif
@@ -1195,12 +1212,14 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libubsan.so.*
%endif
%files -n libstdc++-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libstdc++.so.*
%exclude %{libsubdir}/32/libstdc++.so.*-gdb.py
diff --git a/packaging/linaro-gcc.spec b/packaging/linaro-gcc.spec
index 90f40adb2db..bd380f1123f 100644
--- a/packaging/linaro-gcc.spec
+++ b/packaging/linaro-gcc.spec
@@ -223,7 +223,7 @@ operations.
%package -n libitm
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm
The runtime library needed to run programs compiled with the
@@ -488,7 +488,7 @@ operations.
%package -n libitm-32bit
Summary: The GNU Compiler Transactional Memory Runtime Library
-License: MIT
+License: GPL-3.0-with-GCC-exception
Group: Development/Languages
%description -n libitm-32bit
The runtime library needed to run programs compiled with the
@@ -1032,6 +1032,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libstdc++
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libstdc++.so.*
@@ -1045,11 +1046,13 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgcc_s.so.*
%files -n libgomp
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libgomp.so.*
@@ -1061,6 +1064,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libasan.so*
%endif
@@ -1068,6 +1072,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/liblsan.so*
%endif
@@ -1075,6 +1080,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %tsan_arch
%files -n libtsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libtsan.so*
%endif
@@ -1082,6 +1088,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libatomic.so.*
%endif
@@ -1089,6 +1096,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %itm_arch
%files -n libitm
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libdir}/libitm.so.*
%endif
@@ -1103,6 +1111,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libdir}/libubsan.so.*
%endif
@@ -1110,6 +1119,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %quadmath_arch
%files -n libquadmath
%manifest gcc.manifest
+%license COPYING.LIB
%defattr(-,root,root)
%{libdir}/libquadmath.so.*
%endif
@@ -1143,6 +1153,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %asan_arch
%files -n libasan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libasan.so.*
%endif
@@ -1150,6 +1161,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %lsan_arch
%files -n liblsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/liblsan.so.*
%endif
@@ -1157,6 +1169,7 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %atomic_arch
%files -n libatomic-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libatomic.so.*
%endif
@@ -1169,22 +1182,26 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%files -n libgcc-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgcc_s.so.*
%files -n libgomp-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libgomp.so.*
%ifarch %itm_arch
%files -n libitm-32bit
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libitm.so.*
%endif
%ifarch %quadmath_arch
%files -n libquadmath-32bit
+%license COPYING.LIB
%defattr(-,root,root)
%{libsubdir}/32/libquadmath.so.*
%endif
@@ -1192,12 +1209,14 @@ install -m 0755 %{SOURCE23} %{buildroot}/%{_rpmconfigdir}/tizen/
%ifarch %ubsan_arch
%files -n libubsan-32bit
%manifest gcc.manifest
+%license libsanitizer/LICENSE.TXT
%defattr(-,root,root)
%{libsubdir}/32/libubsan.so.*
%endif
%files -n libstdc++-32bit
%manifest gcc.manifest
+%license COPYING3 COPYING.RUNTIME
%defattr(-,root,root)
%{libsubdir}/32/libstdc++.so.*
%exclude %{libsubdir}/32/libstdc++.so.*-gdb.py