Fix the SMACK labeling issue
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 23 Sep 2013 07:41:29 +0000 (16:41 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 23 Sep 2013 07:41:29 +0000 (16:41 +0900)
When ug-bluetooth-efl package installs files, it makes a directory
(/usr/share/icons/default/small). And it labels 'ug_bluetooth'.
So in post part we make a label to '_'.

Change-Id: Ida9223c39f0dc93b17663bf42e051a62e74d06bf

packaging/ug-bluetooth-efl.spec

index a6bcc5e..13a700a 100644 (file)
@@ -50,6 +50,7 @@ make %{?jobs:-j%jobs}
 vconftool set -tf int file/private/libug-setting-bluetooth-efl/visibility_time "0" -g 6520
 mkdir -p /usr/ug/bin/
 ln -sf /usr/bin/ug-client /usr/ug/bin/setting-bluetooth-efl
+chsmack -a '_' /usr/share/icons/default/small
 
 %install
 rm -rf %{buildroot}