Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package uid_wrapper for openSUSE:Factory 
checked in at 2023-02-28 12:48:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uid_wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.uid_wrapper.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uid_wrapper"

Tue Feb 28 12:48:08 2023 rev:15 rq:1067922 version:1.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/uid_wrapper/uid_wrapper.changes  2023-01-21 
19:10:25.536909492 +0100
+++ /work/SRC/openSUSE:Factory/.uid_wrapper.new.31432/uid_wrapper.changes       
2023-02-28 12:48:32.580441794 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 09:32:20 UTC 2023 - Andreas Schneider <a...@cryptomilk.org>
+
+- Fix building with cmocka >= 1.1.6
+  * Added uid_wrapper-fix-cmocka-1.1.6+-support.patch
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ uid_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.9mw4CU/_old  2023-02-28 12:48:33.272446289 +0100
+++ /var/tmp/diff_new_pack.9mw4CU/_new  2023-02-28 12:48:33.276446316 +0100
@@ -33,6 +33,7 @@
 Source1:        %{name}-rpmlintrc
 Source2:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
 Source3:        uid_wrapper.keyring
+Patch0:         uid_wrapper-fix-cmocka-1.1.6+-support.patch
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
 BuildRequires:  pkgconf


++++++ uid_wrapper-fix-cmocka-1.1.6+-support.patch ++++++
>From 850f24c6366abda30bfd77734b90330b8809d306 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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 635e86e..68e050e 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -1,5 +1,9 @@
 project(tests C)
 
+if (TARGET cmocka::cmocka)
+    set(CMOCKA_LIBRARY cmocka::cmocka)
+endif()
+
 add_library(uwrap_fake_socket_wrapper SHARED uwrap_fake_socket_wrapper.c)
 target_compile_options(uwrap_fake_socket_wrapper
                        PRIVATE
-- 
2.39.2

Reply via email to