Fix rpmlint issue 00/3700/2
authorXavier Roche <xavrock.os@gmail.com>
Tue, 28 May 2013 14:41:43 +0000 (16:41 +0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 4 Jun 2013 12:47:56 +0000 (05:47 -0700)
  - Fix harcoded library path for systemd

packaging/app-core.spec

index dc1799da41ecdd63442f6a572152e05773f3f111..1264675eff0dec82082302c4d9071d923a15cb2a 100644 (file)
@@ -84,8 +84,8 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-install -d %{buildroot}%{_prefix}/lib/systemd/user/core-efl.target.wants
-install -m0644 %{SOURCE101} %{buildroot}%{_prefix}/lib/systemd/user/
+install -d %{buildroot}%{_unitdir_user}/core-efl.target.wants
+install -m0644 %{SOURCE101} %{buildroot}%{_unitdir_user}
 
 
 %post efl -p /sbin/ldconfig
@@ -115,8 +115,8 @@ install -m0644 %{SOURCE101} %{buildroot}%{_prefix}/lib/systemd/user/
 %manifest app-core.manifest
 %defattr(-,root,root,-)
 %{_libdir}/libappcore-common.so.*
-%{_prefix}/lib/systemd/user/core-efl.target
-%{_prefix}/lib/systemd/user/core-efl.target.wants/
+%{_unitdir_user}/core-efl.target
+%{_unitdir_user}/core-efl.target.wants/
 
 %files common-devel
 %defattr(-,root,root,-)