Script 'mail_helper' called by obssrc
Hello community,

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

Package is "priv_wrapper"

Mon Feb 27 12:56:08 2023 rev:3 rq:1067963 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/priv_wrapper/priv_wrapper.changes        
2022-11-25 13:22:20.719417675 +0100
+++ /work/SRC/openSUSE:Factory/.priv_wrapper.new.31432/priv_wrapper.changes     
2023-02-27 12:56:09.811716540 +0100
@@ -1,0 +2,6 @@
+Mon Feb 27 10:33:47 UTC 2023 - Andreas Schneider <a...@cryptomilk.org>
+
+- Fix building with cmocka >= 1.1.6
+  * Added priv_wrapper-fix-cmocka-1.1.6+-support.patch
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ priv_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.kTACJ5/_old  2023-02-27 12:56:10.291719498 +0100
+++ /var/tmp/diff_new_pack.kTACJ5/_new  2023-02-27 12:56:10.295719522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package priv_wrapper
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2022 Andreas Schneider
 #
 # All modifications and additions to the file contributed by third parties
@@ -34,6 +34,7 @@
 Source1:        %{name}-rpmlintrc
 Source2:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
 Source3:        priv_wrapper.keyring
+Patch0:         priv_wrapper-fix-cmocka-1.1.6+-support.patch
 BuildRequires:  cmake
 BuildRequires:  libcmocka-devel
 BuildRequires:  pkgconf


++++++ priv_wrapper-fix-cmocka-1.1.6+-support.patch ++++++
>From 295bcbe9de1fb37531678d482efb12583b77c6d0 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 d33cf15..46147cf 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()
+
 include_directories(
   ${CMAKE_BINARY_DIR}
   ${CMAKE_CURRENT_SOURCE_DIR}
-- 
2.39.2

Reply via email to