- bnc#768660 - virt-manager complains about missing SuSEconfig.gtk2

virt-manager.spec

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=99
This commit is contained in:
Charles Arnold 2012-06-25 18:17:34 +00:00 committed by Git OBS Bridge
parent 0221f336f2
commit b171ef17ae
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 25 11:52:50 MDT 2012 - carnold@novell.com
- bnc#768660 - virt-manager complains about missing SuSEconfig.gtk2
virt-manager.spec
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 27 17:03:48 UTC 2012 - reddwarf@opensuse.org Fri Apr 27 17:03:48 UTC 2012 - reddwarf@opensuse.org

View File

@ -53,6 +53,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gconf2-devel BuildRequires: gconf2-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: hicolor-icon-theme
BuildRequires: intltool BuildRequires: intltool
BuildRequires: scrollkeeper BuildRequires: scrollkeeper
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
@ -61,7 +62,6 @@ Requires: dbus-1-x11
Requires: gnome-keyring Requires: gnome-keyring
Requires: libvirt-python >= 0.7.0 Requires: libvirt-python >= 0.7.0
Requires: libxml2-python >= 2.6.23 Requires: libxml2-python >= 2.6.23
Requires: python-gconf
Requires: vm-install >= 0.5.6 Requires: vm-install >= 0.5.6
%ifarch x86_64 %ifarch x86_64
Requires: vtemodule.so()(64bit) Requires: vtemodule.so()(64bit)
@ -70,11 +70,9 @@ Requires: vtemodule.so
%endif %endif
Requires: librsvg Requires: librsvg
Requires: netcat-openbsd Requires: netcat-openbsd
Requires: scrollkeeper
Requires: python-gtk-vnc Requires: python-gtk-vnc
Requires: python-urlgrabber Requires: python-urlgrabber
Requires: scrollkeeper
Requires: vm-install
#Requires: spice-gtk
Requires: python-gconf Requires: python-gconf
Requires: python-gobject2 Requires: python-gobject2
Requires: python-gtk Requires: python-gtk
@ -138,8 +136,19 @@ sed -i -e 's/Categories=.*/Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
%pre -f %{name}.schemas_pre %pre -f %{name}.schemas_pre
%post %post
%if 0%{?suse_version} < 1140
%run_suseconfig -m glib2 %run_suseconfig -m glib2
%run_suseconfig -m gtk2 %run_suseconfig -m gtk2
%else
%desktop_database_post
%icon_theme_cache_post
%endif
%postun
%if 0%{?suse_version} > 1130
%desktop_database_postun
%icon_theme_cache_postun
%endif
%preun -f %{name}.schemas_preun %preun -f %{name}.schemas_preun