SPECS: mysql.spec - updated libs patch to kill unnecessary linking with lib...

qboosh qboosh at pld-linux.org
Mon Aug 25 21:07:43 CEST 2008


Author: qboosh                       Date: Mon Aug 25 19:07:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated libs patch to kill unnecessary linking with libnsl
  and invalid/unnecessary -L/usr/lib/ from --libs
- added config patch to filter unwanted flags from --cflags/--libs

---- Files affected:
SPECS:
   mysql.spec (1.415 -> 1.416) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.415 SPECS/mysql.spec:1.416
--- SPECS/mysql.spec:1.415	Mon Aug 25 19:22:56 2008
+++ SPECS/mysql.spec	Mon Aug 25 21:07:37 2008
@@ -1,16 +1,10 @@
 # $Revision$, $Date$
 # TODO:
-# - sanitize mysql_config:
-#   - kill optflags (-f.*/-g.*/-m.*) from --cflags
-#   - kill -lnsl from --libs/--libs_r/--libmysqld-libs
-# - C(XX)FLAGS for innodb subdirs are overriden by ./configure!
 # - http://bugs.mysql.com/bug.php?id=16470
 # - innodb are dynamic (= as plugins) ?
 # - missing have_archive, have_merge
 # - is plugin_dir lib64 safe?
 # - Using NDB Cluster... could not find sci transporter in /{include, lib}
-# - unpackaged:
-#   /usr/share/man/man1/mysql_tableinfo.1.gz
 #
 # Conditional build:
 %bcond_without	innodb		# InnoDB storage engine support
@@ -66,6 +60,7 @@
 Patch9:		%{name}-build.patch
 Patch10:	%{name}-alpha.patch
 Patch11:	%{name}-upgrade.patch
+Patch12:	%{name}-config.patch
 URL:		http://www.mysql.com/products/database/mysql/community_edition.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -468,6 +463,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch11 -p1
+%patch12 -p1
 
 %build
 %{__libtoolize}
@@ -1046,6 +1042,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.416  2008/08/25 19:07:37  qboosh
+- updated libs patch to kill unnecessary linking with libnsl
+  and invalid/unnecessary -L/usr/lib/ from --libs
+- added config patch to filter unwanted flags from --cflags/--libs
+
 Revision 1.415  2008/08/25 17:22:56  qboosh
 - verbose libs list
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mysql.spec?r1=1.415&r2=1.416&f=u



More information about the pld-cvs-commit mailing list