Don't install the demo .desktop files

This commit is contained in:
Kalev Lember 2014-02-06 22:40:32 +01:00
parent d2c2ba32f9
commit 14f49a5815

View File

@ -62,6 +62,10 @@ 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
%pre
# Update the home directory for existing users
@ -94,8 +98,6 @@ exit 0
%{_unitdir}/geoclue.service
%{_datadir}/geoclue-2.0/
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_datadir}/applications/geoclue-where-am-i.desktop
%files devel
%{_libdir}/pkgconfig/geoclue-2.0.pc
@ -109,6 +111,7 @@ exit 0
%changelog
* Thu Feb 06 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.2-2
- Add systemd rpm scripts
- Don't install the demo .desktop files
* Tue Feb 04 2014 Richard Hughes <rhughes@redhat.com> - 2.1.2-1
- Update to 2.1.2