use %license macro for profile packages 89/121389/1 accepted/tizen/common/20170328.140808 accepted/tizen/ivi/20170328.061514 accepted/tizen/mobile/20170328.061436 accepted/tizen/unified/20170328.061534 accepted/tizen/wearable/20170328.061507 submit/tizen/20170328.034237
authorKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 28 Mar 2017 01:42:59 +0000 (10:42 +0900)
committerKyeonghun Lee <kh9090.lee@samsung.com>
Tue, 28 Mar 2017 01:44:56 +0000 (10:44 +0900)
Change-Id: I49171e1e0de1c58f46c6ffb66a75b259f6e62011
Signed-off-by: Kyeonghun Lee <kh9090.lee@samsung.com>
packaging/msg-service.spec

index ff39a1a..d0cf925 100755 (executable)
@@ -243,7 +243,6 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
 mkdir -p %{buildroot}/etc/config
 mkdir -p %{buildroot}/usr/share/upgrade/scripts
 cp -f 500.msg-service.sh %{buildroot}/usr/share/upgrade/scripts
@@ -407,6 +406,7 @@ popd
 echo "If you want to keep using %name after uninstalling this, you need to reinstall %name after uninstalling this."
 %files profile_mobile
 %manifest msg-manager.manifest
+%license LICENSE.APLv2
 %{_bindir}/msg-server.mobile
 %{_libdir}/libmsg_plugin_manager.so.mobile
 %{_libdir}/libmsg_mapi.so.*.mobile
@@ -440,6 +440,7 @@ popd
 echo "If you want to keep using %name after uninstalling this, you need to reinstall %name after uninstalling this."
 %files profile_wearable
 %manifest msg-manager.manifest
+%license LICENSE.APLv2
 %{_bindir}/msg-server.wearable
 %{_libdir}/libmsg_plugin_manager.so.wearable
 %{_libdir}/libmsg_mapi.so.*.wearable