!158 apibuild: Fix self.waring method call
From: @yezengruan Reviewed-by: @kevinzhu1 Signed-off-by: @kevinzhu1
This commit is contained in:
commit
1dd8bdc017
31
apibuild-Fix-self.waring-method-call.patch
Normal file
31
apibuild-Fix-self.waring-method-call.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 58d0830491d3be2fedec55f42f6f832d32783a73 Mon Sep 17 00:00:00 2001
|
||||
From: luzhipeng <luzhipeng@cestc.cn>
|
||||
Date: Sat, 7 May 2022 09:17:31 +0800
|
||||
Subject: [PATCH] apibuild: Fix self.waring method call
|
||||
|
||||
The parameters of self.warning is inconsistent with its definition, So
|
||||
fix it.
|
||||
|
||||
Signed-off-by: dinglimin <dinglimin@cmss.chinamobile.com>
|
||||
Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
|
||||
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
|
||||
---
|
||||
scripts/apibuild.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/apibuild.py b/scripts/apibuild.py
|
||||
index 05a169c30d..c98bcf6091 100755
|
||||
--- a/scripts/apibuild.py
|
||||
+++ b/scripts/apibuild.py
|
||||
@@ -315,7 +315,7 @@ class index:
|
||||
if type in type_map:
|
||||
type_map[type][name] = d
|
||||
else:
|
||||
- self.warning("Unable to register type ", type)
|
||||
+ self.warning("Unable to register type %s" % type)
|
||||
|
||||
if name == debugsym and not quiet:
|
||||
print("New symbol: %s" % (d))
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -101,7 +101,7 @@
|
||||
Summary: Library providing a simple virtualization API
|
||||
Name: libvirt
|
||||
Version: 6.2.0
|
||||
Release: 40
|
||||
Release: 41
|
||||
License: LGPLv2+
|
||||
URL: https://libvirt.org/
|
||||
|
||||
@ -250,6 +250,7 @@ Patch0137: virsh-Display-vhostuser-socket-path-in-domblklist.patch
|
||||
Patch0138: sw_64-Add-sw64-architecture-support.patch
|
||||
Patch0139: src-workaround-warning-triggered-in-glib-2.69.patch
|
||||
Patch0140: nwfilter-fix-crash-when-counting-number-of-network-f.patch
|
||||
Patch0141: apibuild-Fix-self.waring-method-call.patch
|
||||
|
||||
Requires: libvirt-daemon = %{version}-%{release}
|
||||
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
||||
@ -1984,6 +1985,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 11 2022 yezengruan <yezengruan@huawei.com> - 6.2.0-41
|
||||
- apibuild: Fix self.waring method call
|
||||
|
||||
* Mon Jun 20 2022 yezengruan <yezengruan@huawei.com> - 6.2.0-40
|
||||
- nwfilter: fix crash when counting number of network filters (CVE-2022-0897)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user