SHA256
1
0
forked from pool/gbrainy

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