17
0

Do not turn deprecation warnings into errors (bsc#1255045)

cmocka 2.0 has deprecated various macros we are using.
For now, just make sure we don't error out. A real solution must
be found upstream.
This commit is contained in:
Martin Wilck
2025-12-16 12:22:53 +01:00
parent 5879e60e08
commit b302670d7f
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 16 10:59:17 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>
- Do not turn deprecation warnings into errors (bsc#1255045)
-------------------------------------------------------------------
Mon Nov 17 16:11:43 UTC 2025 - Martin Wilck <mwilck@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package multipath-tools
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -170,7 +170,7 @@ cp %{SOURCE4} .
%if 0%{?with_check} == 1
%check
%{make_build} OPTFLAGS="%{mp_optflags}" %{dirflags} %{makeflags} V=1 test
%{make_build} OPTFLAGS="%{mp_optflags} -Wno-error=deprecated-declarations" %{dirflags} %{makeflags} V=1 test
%endif
%install