Using license macro 93/124293/1 accepted/tizen/unified/20170413.161915 submit/tizen/20170413.014723 tizen_4.0.m1_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 11 Apr 2017 05:29:13 +0000 (14:29 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 11 Apr 2017 05:29:13 +0000 (14:29 +0900)
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Using license macro
[Cause & Measure] Using license macro
[Checking Method] N/A

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I79f51b0a247edec06920757a9a81673ff6b1a511

packaging/json-c.spec

index 0b7c147..813055e 100644 (file)
@@ -48,9 +48,6 @@ cp %{SOURCE1001} .
 %install
 %make_install
 
-# LICENSE
-mkdir -p %{buildroot}/usr/share/license
-cp -af COPYING %{buildroot}/usr/share/license/%{name}
 
 %post -n libjson -p /sbin/ldconfig
 
@@ -59,12 +56,13 @@ cp -af COPYING %{buildroot}/usr/share/license/%{name}
 %files -n libjson
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%{_datadir}/license/%{name}
+%license COPYING
 %{_libdir}/libjson-c.so.*
 
 %files -n libjson-devel
 %manifest %{name}.manifest
 %defattr(-,root,root)
+%license COPYING
 %{_libdir}/libjson-c.so
 %{_includedir}/json-c
 %{_libdir}/pkgconfig/*.pc