added license file into rpm package. 87/10487/1
authorKitae Kim <kt920.kim@samsung.com>
Mon, 30 Sep 2013 04:53:13 +0000 (13:53 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Wed, 2 Oct 2013 09:38:28 +0000 (18:38 +0900)
Change-Id: I6a23561c444a8974d4042848fbf1c2e802491638
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
packaging/system-plugin-emulator.changes
packaging/system-plugin-emulator.spec

index 2ba162b..f3a3ce2 100644 (file)
@@ -1,3 +1,6 @@
+* Mon Sep 30 02:57:50 UTC 2013 Kitae Kim <kt920.kim@samsung.com>
+- include license file into package.
+
 * Thu Sep 12 19:03:38 UTC 2013 Kitae Kim <kt920.kim@samsung.com>
 - added a rule for new codec device.
 
index 55a1ee5..423497f 100644 (file)
@@ -1,5 +1,5 @@
 Name: system-plugin-emulator
-Version: 0.0.11
+Version: 0.0.12
 Release: 1
 
 %define systemd_dir     /usr/lib/systemd
@@ -54,6 +54,10 @@ ln -s %{systemd_dir}/system/sshd.service %{buildroot}/%{systemd_dir}/system/emul
 # for host file sharing
 mkdir -p %{buildroot}/mnt/host
 
+# include license
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
 %post
 #make fstab
 if [ -e /etc/fstab ]; then
@@ -95,3 +99,4 @@ fi
 /usr/lib/systemd/system/emulator.target.wants/sshd.service
 /usr/lib/udev/rules.d/95-tizen-emulator.rules
 %dir /mnt/host
+/usr/share/license/%{name}