Commit 73fca0a36deab3de53fd357a84908847e8d8c720
1 parent
2815aa30
(Build) Updated spec file to allow building for SMACK enabled targets
Use gbs build ... --define "%enable_dali_smack_rules 1" Change-Id: I4ad497810221e36588a51a6cd55a1b94a12d18ad
Showing
2 changed files
with
18 additions
and
0 deletions
com.samsung.dali-demo.manifest-smack
0 → 100644
| 1 | +<manifest> | |
| 2 | + <define> | |
| 3 | + <domain name="com.samsung.dali-demo" /> | |
| 4 | + <request> | |
| 5 | + <smack request="dali" type="rwxat" /> | |
| 6 | + </request> | |
| 7 | + </define> | |
| 8 | + <assign> | |
| 9 | + <filesystem path="/usr/share/icons/com.samsung.dali-demo.png" label="_" /> | |
| 10 | + </assign> | |
| 11 | + <request> | |
| 12 | + <domain name="com.samsung.dali-demo" /> | |
| 13 | + </request> | |
| 14 | +</manifest> | ... | ... |
packaging/com.samsung.dali-demo.spec
| ... | ... | @@ -111,7 +111,11 @@ exit 0 |
| 111 | 111 | ############################## |
| 112 | 112 | |
| 113 | 113 | %files |
| 114 | +%if 0%{?enable_dali_smack_rules} | |
| 115 | +%manifest com.samsung.dali-demo.manifest-smack | |
| 116 | +%else | |
| 114 | 117 | %manifest com.samsung.dali-demo.manifest |
| 118 | +%endif | |
| 115 | 119 | %defattr(-,root,root,-) |
| 116 | 120 | %{dali_app_exe_dir}/dali-demo |
| 117 | 121 | %{dali_app_exe_dir}/*.example | ... | ... |