[yast-commit] r68044 - /trunk/gtk/yast2-gtk.spec.in
Author: tgoettlicher Date: Mon Apr 30 10:58:37 2012 New Revision: 68044 URL: http://svn.opensuse.org/viewcvs/yast?rev=68044&view=rev Log: fix for gcc47 Modified: trunk/gtk/yast2-gtk.spec.in Modified: trunk/gtk/yast2-gtk.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/yast2-gtk.spec.in?rev=68044&r1=68043&r2=68044&view=diff ============================================================================== --- trunk/gtk/yast2-gtk.spec.in (original) +++ trunk/gtk/yast2-gtk.spec.in Mon Apr 30 10:58:37 2012 @@ -16,6 +16,13 @@ %if 0%{?suse_version} < 1220 BuildRequires: libxcrypt-devel %endif +if 0%{?force_gcc_46} +BuildRequires: gcc46 +BuildRequires: gcc46-c++ +%else +BuildRequires: gcc-c++ >= 4.6 +%endif + Requires: gtk3 Requires: yast2-libyui >= 2.18.8 Requires: yast2_theme >= 2.16.1 @@ -46,6 +53,10 @@ %install cd build +%if 0%{?force_gcc_46} +export CC=gcc-4.6 +export CXX=g++-4.6 +%endif make install DESTDIR=$RPM_BUILD_ROOT cd .. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
tgoettlicher@svn2.opensuse.org