license: copy license file to /usr/share/license & changed permission 21/12021/2
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Mon, 11 Nov 2013 08:02:41 +0000 (17:02 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Mon, 11 Nov 2013 08:10:13 +0000 (17:10 +0900)
Change-Id: I5ac2472f23042a6233fce928492ac3aaa269b29e
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
packaging/emuld.spec [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 39589f4..623d779
@@ -40,6 +40,9 @@ if [ ! -d %{buildroot}/etc/rc.d/rc3.d ]; then
 fi
 ln -s /etc/init.d/emuld %{buildroot}/etc/rc.d/rc3.d/S04emuld
 
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
+
 %make_install
 
 %clean
@@ -60,6 +63,7 @@ touch /opt/nfc/sdkMsg
 %files
 %defattr(-,root,root,-)
 %{_prefix}/bin/emuld
+/usr/share/license/%{name}
 /usr/lib/systemd/system/emuld.service
 /usr/lib/systemd/system/emulator.target.wants/emuld.service
 /etc/init.d/emuld