packages: wine-doors/wine-doors.spec - disable debuginfo

glen glen at pld-linux.org
Mon Feb 15 16:53:35 CET 2010


Author: glen                         Date: Mon Feb 15 15:53:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable debuginfo

---- Files affected:
packages/wine-doors:
   wine-doors.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: packages/wine-doors/wine-doors.spec
diff -u packages/wine-doors/wine-doors.spec:1.25 packages/wine-doors/wine-doors.spec:1.26
--- packages/wine-doors/wine-doors.spec:1.25	Thu Feb 26 18:10:40 2009
+++ packages/wine-doors/wine-doors.spec	Mon Feb 15 16:53:30 2010
@@ -26,6 +26,9 @@
 ExcludeArch:	i386
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# no binary contents
+%define		_enable_debug_packages	0
+
 %description
 Wine-doors provides a replacement for winetools which adds apt/yum
 functionality to wine, doing away with the bad aspects of winetools
@@ -54,11 +57,13 @@
 
 %{__sed} -i -e '1s,#.*python,#!%{__python},' src/winedoors.py
 
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %install
 rm -rf $RPM_BUILD_ROOT
-
 export USER=root
-python setup.py install \
+%{__python} setup.py install \
 	--temp=$RPM_BUILD_ROOT \
 	--config=%{_sysconfdir}/%{name} \
 	-S
@@ -99,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2010/02/15 15:53:30  glen
+- disable debuginfo
+
 Revision 1.25  2009/02/26 17:10:40  wolvverine
 - 0.1.3rc1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wine-doors/wine-doors.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list