summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJunfeng Dong <junfeng.dong@intel.com>2013-06-20 18:43:48 +0800
committerJunfeng Dong <junfeng.dong@intel.com>2013-06-20 19:12:43 +0800
commit88821265b7f06f8d4118901421343b26a3bdef31 (patch)
tree9b07cbab4783a94dc252c7989959f61054c955e3 /packaging
parenta9501fe5a871e081789ad261b26643ca705a5d96 (diff)
downloadoma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.tar.gz
oma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.tar.bz2
oma-ds-agent-88821265b7f06f8d4118901421343b26a3bdef31.zip
Fixed build error on 3.0submit/tizen/20130620.112008
Removed Werror to fix GCC 4.7. Installed systemd into /usr/lib. Change-Id: I6d62ac9552154d88ea413f9b5ba63f44f32b1ceb Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/oma-ds-agent.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/oma-ds-agent.spec b/packaging/oma-ds-agent.spec
index 86750bd..267af0b 100755
--- a/packaging/oma-ds-agent.spec
+++ b/packaging/oma-ds-agent.spec
@@ -57,9 +57,9 @@ sqlite3 %{buildroot}/opt/dbspace/.omasyncagent.db "PRAGMA journal_mode = PERSIST
%make_install
# systemd service script sertup
-mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
-ln -s ../oma-ds-agent.service %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/oma-ds-agent.service
+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}