packages: wine/wine.spec - reenable debuginfo, builds/works for me.

pluto pluto at pld-linux.org
Sat May 12 13:04:40 CEST 2012


Author: pluto                        Date: Sat May 12 11:04:39 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- reenable debuginfo, builds/works for me.

---- Files affected:
packages/wine:
   wine.spec (1.408 -> 1.409) 

---- Diffs:

================================================================
Index: packages/wine/wine.spec
diff -u packages/wine/wine.spec:1.408 packages/wine/wine.spec:1.409
--- packages/wine/wine.spec:1.408	Sat May 12 00:46:57 2012
+++ packages/wine/wine.spec	Sat May 12 13:04:34 2012
@@ -132,7 +132,7 @@
 
 %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
@@ -353,21 +353,6 @@
 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)
@@ -572,6 +557,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.409  2012/05/12 11:04:34  pluto
+- reenable debuginfo, builds/works for me.
+
 Revision 1.408  2012/05/11 22:46:57  glen
 - hardlink identical fakedlls
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/wine/wine.spec?r1=1.408&r2=1.409



More information about the pld-cvs-commit mailing list