Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package chessx for openSUSE:Factory checked 
in at 2021-09-26 21:48:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chessx (Old)
 and      /work/SRC/openSUSE:Factory/.chessx.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chessx"

Sun Sep 26 21:48:45 2021 rev:12 rq:921490 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/chessx/chessx.changes    2021-02-26 
21:59:47.575838815 +0100
+++ /work/SRC/openSUSE:Factory/.chessx.new.1899/chessx.changes  2021-09-26 
21:49:35.170842421 +0200
@@ -1,0 +2,5 @@
+Sun Sep 26 09:55:41 UTC 2021 - Luigi Baldoni <aloi...@gmx.com>
+
+- Add chessx-use_system_doctest.patch and fix Factory build
+
+-------------------------------------------------------------------

New:
----
  chessx-use_system_doctest.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chessx.spec ++++++
--- /var/tmp/diff_new_pack.79q4k5/_old  2021-09-26 21:49:35.574842921 +0200
+++ /var/tmp/diff_new_pack.79q4k5/_new  2021-09-26 21:49:35.574842921 +0200
@@ -30,6 +30,8 @@
 Patch1:         chessx-install.patch
 # PATCH-FEATURE-OPENSUSE chessx-use_system_quazip.patch
 Patch2:         chessx-use_system_quazip.patch
+# PATCH-FIX-OPENSUSE chessx-use_system_doctest.patch aloi...@gmx.com -- use 
system doctest instead of embedded
+Patch3:         chessx-use_system_doctest.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
@@ -44,6 +46,7 @@
 BuildRequires:  cmake(Qt5TextToSpeech)
 BuildRequires:  cmake(Qt5Widgets)
 BuildRequires:  cmake(Qt5Xml)
+BuildRequires:  pkgconfig(doctest)
 %if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150200
 BuildRequires:  pkgconfig(quazip1-qt5)
 %else

++++++ chessx-use_system_doctest.patch ++++++
Index: chessx-1.5.6/dep/CMakeLists.txt
===================================================================
--- chessx-1.5.6.orig/dep/CMakeLists.txt
+++ chessx-1.5.6/dep/CMakeLists.txt
@@ -1,5 +1,3 @@
-add_subdirectory(doctest)
-
 if (ENABLE_SCID_SUPPORT)
   add_subdirectory(scid)
 endif()
Index: chessx-1.5.6/CMakeLists.txt
===================================================================
--- chessx-1.5.6.orig/CMakeLists.txt
+++ chessx-1.5.6/CMakeLists.txt
@@ -164,6 +164,9 @@ set(CMAKE_AUTOUIC OFF)
 
 option(ENABLE_TESTING "Enable testing" ON)
 if (ENABLE_TESTING)
+  if(LINUX)
+    pkg_search_module(DOCTEST REQUIRED doctest)
+  endif(LINUX)
   enable_testing()
   add_subdirectory(tests/unittests)
 endif()
Index: chessx-1.5.6/tests/unittests/CMakeLists.txt
===================================================================
--- chessx-1.5.6.orig/tests/unittests/CMakeLists.txt
+++ chessx-1.5.6/tests/unittests/CMakeLists.txt
@@ -12,8 +12,8 @@ add_executable(doctestrunner
   test_resultscounter.cpp
 )
 
-target_include_directories(doctestrunner PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
-target_link_libraries(doctestrunner PRIVATE doctest ${COMMON_DEPENDENCIES})
+target_include_directories(doctestrunner PRIVATE ${CMAKE_CURRENT_BINARY_DIR} 
${DOCTEST_INCLUDE_DIRS})
+target_link_libraries(doctestrunner PRIVATE ${DOCTEST_LIBS} 
${COMMON_DEPENDENCIES})
 add_test(NAME unit.doctest COMMAND doctestrunner)
 
 #

Reply via email to