summaryrefslogtreecommitdiff
path: root/packaging/oma-ds-agent.spec
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-08-21 13:01:13 +0800
committerChengwei Yang <chengwei.yang@intel.com>2013-08-21 13:12:38 +0800
commit3b269607504c4ab518dab56cdaaf4270da022017 (patch)
treefc3e04cbc9ee2b98414cb8aa3d862726811d0d47 /packaging/oma-ds-agent.spec
parent448157562ba5dfafe46458821a6d2e3f64fcbe74 (diff)
downloadoma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.tar.gz
oma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.tar.bz2
oma-ds-agent-3b269607504c4ab518dab56cdaaf4270da022017.zip
Move systemd unit file out of packaging
As Tizen packaging guide suggests, systemd unit file should be part of source code rather than part of packaging. Change-Id: I3fa6a6196d881fa9229fe231e025e501f4d00822 Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Diffstat (limited to 'packaging/oma-ds-agent.spec')
-rwxr-xr-xpackaging/oma-ds-agent.spec6
1 files changed, 0 insertions, 6 deletions
diff --git a/packaging/oma-ds-agent.spec b/packaging/oma-ds-agent.spec
index 418851c..d3fbf7b 100755
--- a/packaging/oma-ds-agent.spec
+++ b/packaging/oma-ds-agent.spec
@@ -5,7 +5,6 @@ Release: 1
Group: Base/Device Management
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-Source1: packaing/oma-ds-agent.service
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(glib-2.0)
@@ -55,11 +54,6 @@ sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST
%make_install
-# systemd service script sertup
-mkdir -p %{buildroot}/usr/lib/systemd/system/graphical.target.wants
-install -m 0644 %SOURCE1 %{buildroot}/usr/lib/systemd/system/
-ln -s ../oma-ds-agent.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/oma-ds-agent.service
-
%clean
rm -rf %{buildroot}