From: Sooyoung Ha Date: Thu, 20 Apr 2017 10:59:54 +0000 (+0900) Subject: package: install license by %license macro X-Git-Tag: submit/tizen/20170420.112525^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5c288140c97f3d2da245b0a424982234fd498a0;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git package: install license by %license macro Change-Id: I4a9407c07738b53fb713d63cb546e79757c82937 Signed-off-by: Sooyoung Ha --- diff --git a/packaging/system-plugin-emulator.spec b/packaging/system-plugin-emulator.spec index 04f030a..53532fe 100644 --- a/packaging/system-plugin-emulator.spec +++ b/packaging/system-plugin-emulator.spec @@ -34,10 +34,6 @@ cp -arf filesystem/* %{buildroot} %install_service emulator_preinit.target.wants dev-disk-by\\x2dlabel-emulator\\x2dswap.swap %install_service multi-user.target.wants emulator.target -# include license -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} - # to remount /mnt here mkdir -p %{buildroot}/opt/mnt @@ -68,6 +64,6 @@ mkdir -p %{buildroot}/opt/mnt %{_unitdir}/emulator_preinit.target.wants/dev-disk-by\x2dlabel-emulator\x2dswap.swap %{_prefix}/lib/udev/rules.d/51-tizen-udev-default.rules %{_prefix}/lib/udev/rules.d/95-tizen-emulator.rules -/usr/share/license/%{name} %{_sysconfdir}/fstab /opt/mnt +%license LICENSE