From d4f8a54a110cc662ba47395497bb259a9445ad08 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 24 Nov 2008 11:43:35 -0500 Subject: [PATCH] Fix specfile for building on f9. --- virt-manager.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/virt-manager.spec.in b/virt-manager.spec.in index 64eef867f..6fc64efbc 100644 --- a/virt-manager.spec.in +++ b/virt-manager.spec.in @@ -20,7 +20,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # These two are just the oldest version tested Requires: pygtk2 >= 1.99.12-6 Requires: gnome-python2-gconf >= 1.99.11-7 +%if "%{fedora}" == "9" || "%{fedora}" >= "10" Requires: gnome-python2-gnome +%else +Requires: gnome-python2 +%endif # Absolutely require this version or newer Requires: libvirt-python >= 0.4.5 # Definitely does not work with earlier due to python API changes