packages: mysql-connector-c++/mysql-connector-c++.spec - skip building test...
glen
glen at pld-linux.org
Sat May 12 00:08:39 CEST 2012
Author: glen Date: Fri May 11 22:08:39 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- skip building tests when not testing
---- Files affected:
packages/mysql-connector-c++:
mysql-connector-c++.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/mysql-connector-c++/mysql-connector-c++.spec
diff -u packages/mysql-connector-c++/mysql-connector-c++.spec:1.6 packages/mysql-connector-c++/mysql-connector-c++.spec:1.7
--- packages/mysql-connector-c++/mysql-connector-c++.spec:1.6 Sat May 12 00:05:54 2012
+++ packages/mysql-connector-c++/mysql-connector-c++.spec Sat May 12 00:08:33 2012
@@ -68,6 +68,10 @@
%{__sed} -i -e 's/lib$/%{_lib}/' driver/CMakeLists.txt
%{__chmod} -x examples/*.cpp examples/*.txt
+%if %{without tests}
+%{__sed} -i -e '/ADD_SUBDIRECTORY.*test/d' CMakeLists.txt
+%endif
+
# Save examples to keep directory clean (for doc)
%{__mkdir} _doc_examples
%{__cp} -pr examples _doc_examples
@@ -129,6 +133,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2012/05/11 22:08:33 glen
+- skip building tests when not testing
+
Revision 1.6 2012/05/11 22:05:54 glen
- cmake version
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/mysql-connector-c++/mysql-connector-c++.spec?r1=1.6&r2=1.7
More information about the pld-cvs-commit
mailing list