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/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/%{_libdir}/systemd/system/graphical.target.wants
+install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_libdir}/systemd/system/
+ln -sf ../weston.service $RPM_BUILD_ROOT/%{_libdir}/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}
%{_libexecdir}/weston-desktop-shell
%{_libexecdir}/weston-tablet-shell
%{_libexecdir}/weston-screenshooter
-%dir %{_prefix}/share/weston/
-%{_prefix}/share/weston/*.*
-/usr/lib/systemd/system/weston.service
-/usr/lib/systemd/system/graphical.target.wants/weston.service
+%dir %{_datadir}/weston/
+%{_datadir}/weston/*.*
+%{_libdir}/systemd/system/weston.service
+%{_libdir}/systemd/system/graphical.target.wants/weston.service
%files cursors
%defattr(-,root,root,-)