Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package socket_wrapper for openSUSE:Factory 
checked in at 2023-02-25 19:54:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/socket_wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.socket_wrapper.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "socket_wrapper"

Sat Feb 25 19:54:34 2023 rev:21 rq:1067431 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/socket_wrapper/socket_wrapper.changes    
2023-01-21 19:10:12.148833063 +0100
+++ /work/SRC/openSUSE:Factory/.socket_wrapper.new.31432/socket_wrapper.changes 
2023-02-25 19:54:38.815094718 +0100
@@ -1,0 +2,6 @@
+Thu Feb 23 14:24:07 UTC 2023 - Andreas Schneider <a...@cryptomilk.org>
+
+- Fix building with cmocka >= 1.1.6
+  * Added socket_wrapper-fix-cmocka-1.1.6+-support.patch
+
+-------------------------------------------------------------------

New:
----
  socket_wrapper-fix-cmocka-1.1.6+-support.patch

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

Other differences:
------------------
++++++ socket_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.oipBV0/_old  2023-02-25 19:54:41.083108696 +0100
+++ /var/tmp/diff_new_pack.oipBV0/_new  2023-02-25 19:54:41.087108720 +0100
@@ -35,6 +35,7 @@
 Source1:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
 Source2:        socket_wrapper.keyring
 Source3:        %{name}-rpmlintrc
+Patch0:         socket_wrapper-fix-cmocka-1.1.6+-support.patch
 #
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
@@ -66,7 +67,7 @@
 socket_wrapper_enabled().
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %cmake \


++++++ socket_wrapper-fix-cmocka-1.1.6+-support.patch ++++++
>From 97fe09e583f6e2ef94623c872e0c56bcd8817303 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <a...@samba.org>
Date: Fri, 17 Feb 2023 17:51:27 +0100
Subject: [PATCH] cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Andreas Schneider <a...@samba.org>
Reviewed-by: Pavel Filipenský <pfilipen...@samba.org>
---
 tests/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 6c3aae9..3748461 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -7,6 +7,11 @@ include_directories(
   ${CMOCKA_INCLUDE_DIR}
 )
 
+# Required for cmocka >= 1.1.6
+if (TARGET cmocka::cmocka)
+    set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
 set(TORTURE_LIBRARY torture)
 
 # RFC862 echo server
-- 
2.39.2

Reply via email to