[imsettings/f15/master] Hacks for upgrade (#693809)

Bill Nottingham notting at fedoraproject.org
Tue May 10 16:23:16 UTC 2011


commit c3fcb924cc0119be41787e84fab8883125b37da4
Author: Bill Nottingham <notting at redhat.com>
Date:   Tue May 10 12:21:30 2011 -0400

    Hacks for upgrade (#693809)
    
    When computing which package to install, yum will choose the package
    that brings in the fewest new dependencies. By adding dependencies
    to the LXDE package, we can ensure that it has a higher count when
    only GNOME is present. (This does not actually increase the LXDE's
    package footprint, as these all resolve to the same thing.)

 imsettings.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/imsettings.spec b/imsettings.spec
index 7a53784..ef8c45a 100644
--- a/imsettings.spec
+++ b/imsettings.spec
@@ -1,6 +1,6 @@
 Name:		imsettings
 Version:	1.2.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	LGPLv2+
 URL:		http://code.google.com/p/imsettings/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -131,6 +131,9 @@ Summary:	LXDE support on imsettings
 Group:		Applications/System
 Requires:	%{name} = %{version}-%{release}
 Requires:	lxde-settings-daemon
+# Hack for upgrades: see https://bugzilla.redhat.com/show_bug.cgi?id=693809
+Requires:	lxsession
+Requires:	/usr/bin/lxsession
 Provides:	imsettings-desktop-module = %{version}-%{release}
 
 %description	lxde
@@ -254,6 +257,9 @@ fi
 
 
 %changelog
+* Tue May 10 2011 Bill Nottingham <notting at redhat.com> - 1.2.2-3
+- further hacks for imsettings upgrades (#693809)
+
 * Tue May 10 2011 Akira TAGOH <tagoh at redhat.com> - 1.2.2-2
 - Revert the dependency of im-chooser (#693809)
 


More information about the scm-commits mailing list