SHA256
1
0
forked from pool/gbrainy

Accepting request 75842 from home:vuntz:branches:GNOME:Apps

Do not build with useless gnome support

OBS-URL: https://build.opensuse.org/request/show/75842
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2011-07-08 11:34:48 +00:00 committed by Git OBS Bridge
parent 765fd3cf8a
commit eb1d98bddc
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