packages: mysql/mysql.spec - rel 3; pld cmake macro sets build type to PLD ...

arekm arekm at pld-linux.org
Thu Mar 10 10:27:45 CET 2011


Author: arekm                        Date: Thu Mar 10 09:27:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3; pld cmake macro sets build type to PLD which causes mysql to be built with Debug build type. Force sane build type.

---- Files affected:
packages/mysql:
   mysql.spec (1.532 -> 1.533) 

---- Diffs:

================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.532 packages/mysql/mysql.spec:1.533
--- packages/mysql/mysql.spec:1.532	Thu Mar 10 09:11:42 2011
+++ packages/mysql/mysql.spec	Thu Mar 10 10:27:40 2011
@@ -37,7 +37,7 @@
 Summary(zh_CN.UTF-8):	MySQL数据库服务器
 Name:		mysql
 Version:	5.5.9
-Release:	2
+Release:	3
 License:	GPL + MySQL FLOSS Exception
 Group:		Applications/Databases
 # Source0Download: http://dev.mysql.com/downloads/mysql/5.5.html#downloads
@@ -633,6 +633,7 @@
 cp -a %{SOURCE15} libmysql/libmysql.version
 
 %cmake \
+	-DCMAKE_BUILD_TYPE=%{!?debug:RelWithDebInfo}%{?debug:Debug} \
 	-DFEATURE_SET="community" \
 	-DCMAKE_C_FLAGS_RELEASE="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
 	-DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
@@ -1217,6 +1218,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.533  2011/03/10 09:27:40  arekm
+- rel 3; pld cmake macro sets build type to PLD which causes mysql to be built with Debug build type. Force sane build type.
+
 Revision 1.532  2011/03/10 08:11:42  glen
 - default-character-set is client option, not server
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.532&r2=1.533&f=u



More information about the pld-cvs-commit mailing list