Revert "Don't install the demo .desktop files"

This reverts commit 14f49a5815.

In the following patch, we'll put the demo apps in a separate package.

Conflicts:
	geoclue2.spec
This commit is contained in:
Zeeshan Ali (Khattak) 2015-04-07 16:38:34 +01:00
parent f0d3ff8855
commit 151484988b

View File

@ -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