update service untis to be installed in /usr/lib vs /lib
[profile/ivi/uxlaunch.git] / packaging / uxlaunch.spec
index db821cf..57c12de 100644 (file)
@@ -41,8 +41,8 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{_lib}/systemd/system/graphical.target.wants
-ln -s ../uxlaunch.service %{buildroot}/%{_lib}/systemd/system/graphical.target.wants/uxlaunch.service
+mkdir -p %{buildroot}/usr/lib/systemd/system/graphical.target.wants
+ln -s ../uxlaunch.service %{buildroot}/usr/lib/systemd/system/graphical.target.wants/uxlaunch.service
 %make_install
 
 install -D -p -m 0644 %{SOURCE1} \
@@ -72,12 +72,10 @@ systemctl daemon-reload
 %doc %{_mandir}/man1/uxlaunch.1*
 %{_datadir}/uxlaunch/dmi-dpi
 %{_datadir}/xsessions/xterm.desktop
-/lib/systemd/system/uxlaunch.service
-/lib/systemd/system/graphical.target.wants/uxlaunch.service
+/usr/lib/systemd/system/uxlaunch.service
+/usr/lib/systemd/system/graphical.target.wants/uxlaunch.service
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/uxlaunch-ipc.h
 
-%changelog
-