Blame SOURCES/0004-buildlib-Fix-a-warning-from-newer-pythons.patch

745326
From 27fd326938dbedc1f254caeb8cd087117e1f7cd7 Mon Sep 17 00:00:00 2001
745326
From: Jason Gunthorpe <jgg@mellanox.com>
745326
Date: Tue, 5 May 2020 20:16:14 -0300
745326
Subject: [PATCH 4/8] buildlib: Fix a warning from newer pythons
745326
745326
[ Upstream commit 7ba12afad433c1ee29877fc51662a203935e6c78 ]
745326
745326
The % is typod into the string in check-build
745326
745326
Fixes: 7cff8245374c ("Have travis check shared library filenames")
745326
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
745326
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
745326
---
745326
 buildlib/check-build | 2 +-
745326
 1 file changed, 1 insertion(+), 1 deletion(-)
745326
745326
diff --git a/buildlib/check-build b/buildlib/check-build
745326
index ab8524e5b98f..4e52d0d4785a 100755
745326
--- a/buildlib/check-build
745326
+++ b/buildlib/check-build
745326
@@ -84,7 +84,7 @@ def get_symbol_vers(fn,exported=True):
745326
 def check_lib_symver(args,fn):
745326
     g = re.match(r"lib([^.]+)\.so\.(\d+)\.(\d+)\.(.*)",fn);
745326
     if g.group(4) != args.PACKAGE_VERSION:
745326
-        raise ValueError("Shared Library filename %r does not have the package version %r (%r)%"(
745326
+        raise ValueError("Shared Library filename %r does not have the package version %r (%r)"%(
745326
             fn,args.PACKAGE_VERSION,g.groups()));
745326
 
745326
     # umad/etc used the wrong symbol version name when they moved to soname 3.0
745326
-- 
745326
2.25.4
745326