Hello community,
here is the log from the commit of package mysql-connector-cpp for
openSUSE:Factory checked in at 2014-08-31 09:58:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mysql-connector-cpp (Old)
and /work/SRC/openSUSE:Factory/.mysql-connector-cpp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mysql-connector-cpp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/mysql-connector-cpp/mysql-connector-cpp.changes
2013-04-26 19:21:30.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.mysql-connector-cpp.new/mysql-connector-cpp.changes
2014-08-31 09:58:50.000000000 +0200
@@ -1,0 +2,12 @@
+Fri Aug 29 14:21:30 UTC 2014 - [email protected]
+
+- Use cmake macros for building properly.
+
+-------------------------------------------------------------------
+Sat Jul 26 13:36:10 UTC 2014 - [email protected]
+
+- disable gcov coverage recording
+ Gcov is a development tool, it slows down execution and creates
+ coverage data that is not useful to users of this library.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mysql-connector-cpp.spec ++++++
--- /var/tmp/diff_new_pack.6XUqbV/_old 2014-08-31 09:58:51.000000000 +0200
+++ /var/tmp/diff_new_pack.6XUqbV/_new 2014-08-31 09:58:51.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package mysql-connector-cpp
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -110,30 +110,19 @@
%patch0 -p1
%patch1
%patch2 -p1
+chmod -x examples/*
%build
-export CXXFLAGS="%optflags"
-cmake \
- -DCMAKE_C_FLAGS:STRING="%{optflags}" \
- -DCMAKE_CXX_FLAGS:STRING="%{optflags}" \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
- -DBUILD_SHARED_LIBS=ON \
-%if %{_lib} == lib64
- -DLIB_SUFFIX=64 \
-%endif
- -DMYSQLCPPCONN_GCOV_ENABLE=ON \
+%cmake \
+ -DMYSQLCPPCONN_GCOV_ENABLE=OFF \
-DMYSQLCPPCONN_ICU_ENABLE=OFF \
-DMYSQLCPPCONN_BUILD_EXAMPLES=OFF \
-DCMAKE_INSTALL_LIB_DIR=%{_lib} \
- -DMYSQLCLIENT_STATIC_BINDING=0 \
- .
+ -DMYSQLCLIENT_STATIC_BINDING=0
make %{?_smp_mflags} VERBOSE=1
-chmod -x examples/*
%install
-make install DESTDIR="%{buildroot}"
+%cmake_install
rm -f %{buildroot}%{_libdir}/libmysqlcppconn-static.a
rm -f %{buildroot}%{_prefix}/[A-Z]*
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]