SPECS (AC-branch): net-snmp.spec - retsept static_libs

glen glen at pld-linux.org
Wed Feb 20 19:37:41 CET 2008


Author: glen                         Date: Wed Feb 20 18:37:41 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- retsept static_libs

---- Files affected:
SPECS:
   net-snmp.spec (1.104.2.7 -> 1.104.2.8) 

---- Diffs:

================================================================
Index: SPECS/net-snmp.spec
diff -u SPECS/net-snmp.spec:1.104.2.7 SPECS/net-snmp.spec:1.104.2.8
--- SPECS/net-snmp.spec:1.104.2.7	Sat Feb  9 20:11:55 2008
+++ SPECS/net-snmp.spec	Wed Feb 20 19:37:36 2008
@@ -512,6 +512,7 @@
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Bundle/Makefile.subs.pl
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Bundle/NetSNMP/.packlist
 
+%if %{with static_libs}
 # hack: convert DynaLoader.a inside .a file to .o, as strip(1) would otherwise say invalid argument
 for a in $RPM_BUILD_ROOT%{_libdir}/libnet*.a; do
 	rm -f *.o *.a
@@ -524,6 +525,7 @@
 		ar d $a DynaLoader.a
 	fi
 done
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -741,6 +743,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104.2.8  2008-02-20 18:37:36  glen
+- retsept static_libs
+
 Revision 1.104.2.7  2008-02-09 19:11:55  glen
 - back with heimdal on ac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/net-snmp.spec?r1=1.104.2.7&r2=1.104.2.8&f=u



More information about the pld-cvs-commit mailing list