diff options
-rw-r--r-- | packaging/sensor-framework.spec | 4 | ||||
-rw-r--r-- | sensor-framework.manifest | 16 |
2 files changed, 3 insertions, 17 deletions
diff --git a/packaging/sensor-framework.spec b/packaging/sensor-framework.spec index 1ccd698..6e754a9 100644 --- a/packaging/sensor-framework.spec +++ b/packaging/sensor-framework.spec @@ -7,6 +7,7 @@ Group: Framework/system License: Apache License, Version 2.0 Source0: %{name}-%{version}.tar.gz Source1: sensor-framework.service +Source1001: sensor-framework.manifest %ifarch %{arm} #arm build @@ -34,6 +35,7 @@ Sensor framework %prep %setup -q +cp %{SOURCE1001} . %build cmake . -DCMAKE_INSTALL_PREFIX=/usr -DPLATFORM_ARCH=%{_archtype} @@ -85,7 +87,7 @@ vconftool set -t int memory/private/sensor/80002 0 -i vconftool set -t int memory/private/sensor/poweroff 0 -i %files -%manifest sensor-framework.manifest +%manifest %{name}.manifest %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/sfsvc %{_sysconfdir}/rc.d/rc3.d/S40sfsvc %{_sysconfdir}/rc.d/rc4.d/S40sfsvc diff --git a/sensor-framework.manifest b/sensor-framework.manifest deleted file mode 100644 index b7467bb..0000000 --- a/sensor-framework.manifest +++ /dev/null @@ -1,16 +0,0 @@ -<manifest> - <define> - <domain name="sensor-framework" /> - <provide> - <label name="sensor-framework::server" /> - </provide> - </define> - <request> - <domain name="sensor-framework" /> - </request> - <assign> - <filesystem path="/etc/rc.d/init.d/sfsvc" label="_" exec_label="none" /> - <filesystem path="/etc/rc.d/rc3.d/S40sfsvc" label="_" exec_label="none" /> - <filesystem path="/etc/rc.d/rc4.d/S40sfsvc" label="_" exec_label="none" /> - </assign> -</manifest> |