Change the way we exclude AppIndicator3 from SLE as a required package

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=296
This commit is contained in:
Charles Arnold 2016-02-01 19:00:29 +00:00 committed by Git OBS Bridge
parent 0b298f6568
commit 3a3ea7d1d3

View File

@ -1,7 +1,7 @@
#
# spec file for package virt-manager
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define with_guestfs 0
%define askpass_package "openssh-askpass"
%define qemu_user "qemu"
@ -125,7 +124,7 @@ Requires: typelib(LibvirtGLib)
BuildRequires: gobject-introspection
# No AppIndicator package on SLE
%if %{?is_opensuse:0}%{!?is_opensuse:1}
Provides: typelib(AppIndicator3)
%define __requires_exclude typelib\\(AppIndicator3\\)
%endif
%description common