[sshmenu] Obsolete gnome-applet-sshmenu on F15+ to fix upgrade path.

Matthias Saou thias at fedoraproject.org
Sun Jul 10 19:22:34 UTC 2011


commit 46af45ba12d90f79741c45b2bc2fab62d6f031b1
Author: Matthias Saou <thias at marmotte.net>
Date:   Sun Jul 10 21:21:42 2011 +0200

    Obsolete gnome-applet-sshmenu on F15+ to fix upgrade path.

 sshmenu.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/sshmenu.spec b/sshmenu.spec
index fad729a..02d4a78 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: 5%{?dist}
+Release: 6%{?dist}
 License: BSD
 Group: User Interface/Desktops
 URL: http://sshmenu.sourceforge.net/
@@ -18,6 +18,11 @@ Requires: ruby(gconf2)
 Requires: ruby(gtk2)
 # We only have ruby scripts and data, and the bonobo file gets picked up fine
 BuildArch: noarch
+# On Fedora < 15 we provided this package, so this should fix upgrades.
+# No need on RHEL, never provided there. Last known version was 3.18-3.dist.
+%if 0%{?fedora} >= 15
+Obsoletes: gnome-applet-sshmenu <= 3.18-4
+%endif
 
 %description
 SSHMenu is a small program (which is to be used outside of GNOME) that
@@ -98,6 +103,9 @@ fi
 
 
 %changelog
+* Sun Jul 10 2011 Matthias Saou <http://freshrpms.net/> 3.18-6
+- Obsolete gnome-applet-sshmenu up to the last built version on F15+.
+
 * Sat Jul  9 2011 Matthias Saou <http://freshrpms.net/> 3.18-5
 - Enable the sshmenu-gnome command in the main package (#711555).
 


More information about the scm-commits mailing list