]> git.pld-linux.org Git - packages/wine.git/commitdiff
- reenable debuginfo, builds/works for me. auto/th/wine-1_4-1
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 12 May 2012 11:04:34 +0000 (11:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    wine.spec -> 1.409

wine.spec

index 3e0c2e1d7cbbc93a6576b85ca03f2cfd4b4c9881..f9673697ca57f30442e29a7cf11872ded7f9cfb7 100644 (file)
--- 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)
This page took 0.266579 seconds and 4 git commands to generate.