update service untis to be installed in /usr/lib vs /lib
authorChris E Ferron <chris.e.ferron@linux.intel.com>
Mon, 2 Jul 2012 17:55:19 +0000 (10:55 -0700)
committerOssama Othman <ossama.othman@intel.com>
Fri, 19 Apr 2013 22:59:49 +0000 (15:59 -0700)
packaging/weston.spec

index 672078a..8a00268 100644 (file)
@@ -67,9 +67,9 @@ install -m 755 clients/simple-shm $RPM_BUILD_ROOT%{_bindir}/wayland-simple-shm
 install -m 755 clients/simple-touch $RPM_BUILD_ROOT%{_bindir}/wayland-simple-touch
 install -m 755 clients/smoke $RPM_BUILD_ROOT%{_bindir}/wayland-smoke
 
-mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/graphical.target.wants
-install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/lib/systemd/system/
-ln -sf ../weston.service $RPM_BUILD_ROOT/lib/systemd/system/graphical.target.wants/weston.service
+mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system/graphical.target.wants
+install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/systemd/system/
+ln -sf ../weston.service $RPM_BUILD_ROOT/usr/lib/systemd/system/graphical.target.wants/weston.service
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/default
 tar -C $RPM_BUILD_ROOT%{_datadir}/icons/default -xvf %{SOURCE1}
@@ -89,8 +89,8 @@ tar -C $RPM_BUILD_ROOT%{_datadir}/icons/default -xvf %{SOURCE1}
 %{_libexecdir}/weston-screenshooter
 %dir %{_prefix}/share/weston/
 %{_prefix}/share/weston/*.*
-/lib/systemd/system/weston.service
-/lib/systemd/system/graphical.target.wants/weston.service
+/usr/lib/systemd/system/weston.service
+/usr/lib/systemd/system/graphical.target.wants/weston.service
 
 %files cursors
 %defattr(-,root,root,-)