[sshmenu] Disable gnome-applet-sshmenu package for F15+ since it's broken.

Matthias Saou thias at fedoraproject.org
Sat Jul 9 18:30:41 UTC 2011


commit 2033289e1aff4c7b5d398e450669a2847886313b
Author: Matthias Saou <thias at marmotte.net>
Date:   Sat Jul 9 20:30:01 2011 +0200

    Disable gnome-applet-sshmenu package for F15+ since it's broken.

 sshmenu.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/sshmenu.spec b/sshmenu.spec
index 851b9eb..d02cba8 100644
--- a/sshmenu.spec
+++ b/sshmenu.spec
@@ -3,7 +3,7 @@
 Summary: Application to organize SSH connection information in a menu
 Name: sshmenu
 Version: 3.18
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 Group: User Interface/Desktops
 URL: http://sshmenu.sourceforge.net/
@@ -51,7 +51,8 @@ keeps all your regular SSH connections within a single panel menu.
 %{__make} install DESTDIR=%{buildroot}
 
 # On RHEL we are missing libs to get the gnome applet working (#463022)
-%if 0%{?rhel}
+# On Fedora 15, no more ruby-panelapplet2 because of GNOME3
+%if 0%{?fedora}%{?rhel:15} >= 15
 %{__rm} -rf %{buildroot}%{_bindir}/sshmenu-gnome
 %{__rm} -rf %{buildroot}%{_prefix}/lib/bonobo/
 %{__rm} -rf %{buildroot}%{ruby_sitelib}/gnome-sshmenu.rb
@@ -87,7 +88,8 @@ fi
 
 
 # On RHEL we are missing libs to get the gnome applet working (#463022)
-%if 0%{!?rhel:1}
+# On Fedora 15, no more ruby-panelapplet2 because of GNOME3
+%if 0%{?fedora}%{?rhel:15} < 15
 %files -n gnome-applet-sshmenu
 %{_bindir}/sshmenu-gnome
 %{_prefix}/lib/bonobo/servers/sshmenu-applet.server
@@ -98,6 +100,9 @@ fi
 
 
 %changelog
+* Sat Jul  9 2011 Matthias Saou <http://freshrpms.net/> 3.18-4
+- Disable gnome-applet-sshmenu on F15+ as ruby-panelapplet2 is no longer there.
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.18-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list