diff --git a/geoclue2.spec b/geoclue2.spec index 3a2865d..962bef0 100644 --- a/geoclue2.spec +++ b/geoclue2.spec @@ -53,11 +53,6 @@ make %{?_smp_mflags} V=1 # Home directory for the 'geoclue' user mkdir -p $RPM_BUILD_ROOT/var/lib/geoclue -# Remove demo files -rm $RPM_BUILD_ROOT%{_datadir}/applications/geoclue-demo-agent.desktop -rm $RPM_BUILD_ROOT%{_datadir}/applications/geoclue-where-am-i.desktop -rm $RPM_BUILD_ROOT%{_libexecdir}/geoclue-2.0/demos/where-am-i - %pre # Update the home directory for existing users @@ -89,6 +84,8 @@ exit 0 %{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service %{_unitdir}/geoclue.service %attr(755,geoclue,geoclue) %dir /var/lib/geoclue +%{_datadir}/applications/geoclue-demo-agent.desktop +%{_datadir}/applications/geoclue-where-am-i.desktop %files devel %{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml