25 |
Name: wine |
Name: wine |
26 |
Version: 1.5.12 |
Version: 1.5.12 |
27 |
%define pre 0 |
%define pre 0 |
28 |
%define rel 1 |
%define rel 2 |
29 |
%if %pre |
%if %pre |
30 |
Release: %mkrel 0.%pre.%rel |
Release: %mkrel 0.%pre.%rel |
31 |
%define o_ver %version-%pre |
%define o_ver %version-%pre |
245 |
|
|
246 |
%build |
%build |
247 |
autoreconf |
autoreconf |
248 |
|
# disable fortify as it breaks wine |
249 |
|
# http://bugs.winehq.org/show_bug.cgi?id=24606#c22 |
250 |
|
# http://bugs.winehq.org/show_bug.cgi?id=25073 |
251 |
|
export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno-error" |
252 |
%configure2_5x --with-x \ |
%configure2_5x --with-x \ |
253 |
--with-pulse \ |
--with-pulse \ |
254 |
%ifarch x86_64 |
%ifarch x86_64 |