SPECS: crossmingw32-glib2.spec - strip

qboosh qboosh at pld-linux.org
Tue Mar 6 14:47:55 CET 2007


Author: qboosh                       Date: Tue Mar  6 13:47:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- strip

---- Files affected:
SPECS:
   crossmingw32-glib2.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32-glib2.spec
diff -u SPECS/crossmingw32-glib2.spec:1.18 SPECS/crossmingw32-glib2.spec:1.19
--- SPECS/crossmingw32-glib2.spec:1.18	Tue Mar  6 14:46:11 2007
+++ SPECS/crossmingw32-glib2.spec	Tue Mar  6 14:47:50 2007
@@ -137,6 +137,11 @@
 install -d $RPM_BUILD_ROOT%{_dlldir}
 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 
+%if 0%{!?debug:1}
+%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
+%{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
+%endif
+
 rm -f $RPM_BUILD_ROOT%{_libdir}/charset.alias
 # use system glib2-devel instead
 rm -rf $RPM_BUILD_ROOT%{_datadir}/{aclocal,glib-2.0,gtk-doc,man}
@@ -179,6 +184,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/03/06 13:47:50  qboosh
+- strip
+
 Revision 1.18  2007/03/06 13:46:11  qboosh
 - no private gcc dirs used here
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossmingw32-glib2.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list