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:
@@ -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>
|
Mon Nov 17 16:11:43 UTC 2025 - Martin Wilck <mwilck@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package multipath-tools
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -170,7 +170,7 @@ cp %{SOURCE4} .
|
|||||||
|
|
||||||
%if 0%{?with_check} == 1
|
%if 0%{?with_check} == 1
|
||||||
%check
|
%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
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|||||||
Reference in New Issue
Block a user