[syncevolution] - fix the binary name in the desktop file

Peter Robinson pbrobinson at fedoraproject.org
Sat Aug 7 22:18:42 UTC 2010


commit 5edc1bbe83c0a8da963884a6c8e057b1409b083f
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat Aug 7 23:18:19 2010 +0100

    - fix the binary name in the desktop file

 syncevolution.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/syncevolution.spec b/syncevolution.spec
index 593a6a7..9c23e49 100644
--- a/syncevolution.spec
+++ b/syncevolution.spec
@@ -1,7 +1,7 @@
 Summary:       SyncML client for evolution
 Name:          syncevolution
 Version:       1.0.1
-Release:       4%{?dist}
+Release:       5%{?dist}
 Epoch:         1	
 License:       LGPLv2+
 Group:         Applications/Productivity
@@ -104,6 +104,10 @@ find %{buildroot} -name '*.la' -o -name '*.a' | xargs rm
 
 %find_lang %{name}
 
+# fix the binary name in the desktop file
+sed -i 's/sync-ui/sync-ui-gtk/' %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
+sed -i 's/sync-ui/sync-ui-moblin/' %{buildroot}/%{_datadir}/applications/sync-moblin.desktop
+
 desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
 desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-moblin.desktop
 
@@ -160,6 +164,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/syncevolution/xml/*.pl
 
 %changelog
+* Sat Aug  7 2010 Peter Robinson <pbrobinson at gmail.com> - 1:1.0.1-5
+- fix the binary name in the desktop file
+
 * Fri Jul 23 2010 Peter Robinson <pbrobinson at gmail.com> - 1:1.0.1-4
 - And twice more with feeling
 


More information about the scm-commits mailing list