From 32d18c86375ea2aed83640a809772f4ed4fe8a51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Sat, 12 May 2012 11:04:34 +0000 Subject: [PATCH] - reenable debuginfo, builds/works for me. Changed files: wine.spec -> 1.409 --- wine.spec | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/wine.spec b/wine.spec index 3e0c2e1..f967369 100644 --- a/wine.spec +++ b/wine.spec @@ -131,7 +131,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define getsoname() %((objdump -p %{1} 2>/dev/null || echo SONAME ERROR) | awk '/SONAME/ { print $2; s=1 }; END { if(s==0) print "ERROR" }') -%undefine debuginfocflags +#undefine debuginfocflags %description Wine is a program which allows running Microsoft Windows programs @@ -352,21 +352,6 @@ vcr=mciviscd.drv MPEGVideo=mciqtz.drv EOF -%if %{?debug:0}%{!?debug:1} -echo "Strip executable binaries and shared object files." -filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*"` -elfexelist=`echo $filelist | xargs -r file | \ - awk '/ELF.*executable/ {print $1}' | cut -d: -f1` -elfsharedlist=`echo $filelist | xargs -r file | \ - awk '/LF.*shared object/ {print $1}' | cut -d: -f1`; \ -if [ -n "$elfexelist" ]; then \ - strip -R .note -R .comment $elfexelist -fi -if [ -n "$elfsharedlist" ]; then - strip --strip-unneeded -R .note -R .comment $elfsharedlist -fi -%endif - # /sbin/chstk -e $RPM_BUILD_ROOT%{_bindir}/wine dir=$(pwd) -- 2.43.0