Accepting request 75852 from GNOME:Apps

Do not build with useless gnome support

OBS-URL: https://build.opensuse.org/request/show/75852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gbrainy?expand=0&rev=33
This commit is contained in:
Sascha Peilicke 2011-07-08 13:45:49 +00:00 committed by Git OBS Bridge
commit 3bf4846cd6
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jul 8 10:59:45 CEST 2011 - vuntz@opensuse.org
- Do not build with useless GNOME support (which adds a dependency
on gnome-sharp2, for no big reason), see bgo#654225:
+ Remove gnome-sharp2 BuildRequires.
+ Pass --disable-gnome to configure.
-------------------------------------------------------------------
Sat Jul 2 09:34:59 CEST 2011 - vuntz@opensuse.org

View File

@ -37,13 +37,12 @@ BuildRequires: translation-update-upstream
Group: Amusements/Games/Logic
Summary: A brain teaser game and trainer
%if 0%{?suse_version}
BuildRequires: gnome-sharp2
BuildRequires: update-desktop-files
%else
%define suse_update_desktop_file true
%endif
%if 0%{?fedora_version}
BuildRequires: gnome-sharp-devel gtk-sharp2-devel
BuildRequires: gtk-sharp2-devel
%endif
Recommends: %{name}-lang
# For the help system to work, we require a ghelp:// URI handler.
@ -75,7 +74,9 @@ translation-update-upstream
%build
export MONO_SHARED_DIR=/var/tmp
%configure --disable-static
%configure \
--disable-static \
--disable-gnome
make
%install