From 14f49a5815c3e79eed39d505fd0311d1f1a99411 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 6 Feb 2014 22:40:32 +0100 Subject: [PATCH] Don't install the demo .desktop files --- geoclue2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/geoclue2.spec b/geoclue2.spec index 4741973..00fa051 100644 --- a/geoclue2.spec +++ b/geoclue2.spec @@ -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 - 2.1.2-2 - Add systemd rpm scripts +- Don't install the demo .desktop files * Tue Feb 04 2014 Richard Hughes - 2.1.2-1 - Update to 2.1.2