Script 'mail_helper' called by obssrc
Hello community,

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

Package is "nss_wrapper"

Tue Feb 28 12:48:06 2023 rev:17 rq:1067921 version:1.1.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/nss_wrapper/nss_wrapper.changes  2023-01-26 
14:04:29.726247774 +0100
+++ /work/SRC/openSUSE:Factory/.nss_wrapper.new.31432/nss_wrapper.changes       
2023-02-28 12:48:31.440434388 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 08:16:39 UTC 2023 - Andreas Schneider <a...@cryptomilk.org>
+
+- Fix building with cmocka >= 1.1.6
+  * Added nss_wrapper-fix-cmocka-1.1.6+-support.patch
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ nss_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.WoCl3O/_old  2023-02-28 12:48:32.080438545 +0100
+++ /var/tmp/diff_new_pack.WoCl3O/_new  2023-02-28 12:48:32.084438572 +0100
@@ -33,6 +33,7 @@
 Source1:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
 Source2:        
https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/%{name}.keyring
 Source3:        %{name}-rpmlintrc
+Patch0:         nss_wrapper-fix-cmocka-1.1.6+-support.patch
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
 BuildRequires:  netcfg


++++++ nss_wrapper-fix-cmocka-1.1.6+-support.patch ++++++
>From 2c879a0ffa70cee33329291d7576ec971d420da2 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 3b94076..733cc4e 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()
+
 set(TESTSUITE_LIBRARIES nss_utils ${NWRAP_REQUIRED_LIBRARIES} 
${CMOCKA_LIBRARY})
 string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
 
-- 
2.39.2

Reply via email to