use %license macro to copy the COPYING file. 71/120171/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170329.150905 accepted/tizen/3.0/ivi/20170329.021445 accepted/tizen/3.0/mobile/20170329.020812 accepted/tizen/3.0/tv/20170329.021041 accepted/tizen/3.0/wearable/20170329.021230 accepted/tizen/common/20170331.152505 accepted/tizen/ivi/20170329.034203 accepted/tizen/mobile/20170329.033948 accepted/tizen/tv/20170329.034112 accepted/tizen/unified/20170329.034224 accepted/tizen/wearable/20170329.034135 submit/tizen/20170328.072410 submit/tizen_3.0/20170328.074051 tizen_4.0.m1_release
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 04:26:46 +0000 (13:26 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 04:26:46 +0000 (13:26 +0900)
Change-Id: Ib548f82e458bde4fb7b14a795e0a1591021c72d9

packaging/libeom.spec

index e7929ab..e4e1624 100644 (file)
@@ -74,8 +74,6 @@ make -C ut check
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 mkdir -p %{buildroot}/usr/include
 cp src/eom-server-protocol.h %{buildroot}/usr/include
 %make_install
@@ -91,7 +89,7 @@ cp src/eom-server-protocol.h %{buildroot}/usr/include
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
 %{_libdir}/libeom.so.*
 %if %{with utest}
 %{_bindir}/ut
@@ -107,7 +105,7 @@ cp src/eom-server-protocol.h %{buildroot}/usr/include
 %files -n libeom-server
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
 %{_includedir}/eom-server-protocol.h
 %{_includedir}/eom/eom.h
 %{_libdir}/libeom-server-protocol.so.*