Blame SOURCES/0211-scripts-fix-contrib-do_abidiff-for-updated-fedpkg.patch

e0018b
From 411651adc693e55a521ba312e1e64876519b0379 Mon Sep 17 00:00:00 2001
e0018b
From: Vishal Verma <vishal.l.verma@intel.com>
e0018b
Date: Wed, 15 Jun 2022 16:48:12 -0600
e0018b
Subject: [PATCH 211/217] scripts: fix contrib/do_abidiff for updated fedpkg
e0018b
e0018b
A recent fedpkg update wants --name instead of --module-name.
e0018b
e0018b
Link: https://lore.kernel.org/r/20220615224813.523053-5-vishal.l.verma@intel.com
e0018b
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
e0018b
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
e0018b
---
e0018b
 scripts/do_abidiff | 2 +-
e0018b
 1 file changed, 1 insertion(+), 1 deletion(-)
e0018b
e0018b
diff --git a/scripts/do_abidiff b/scripts/do_abidiff
e0018b
index 0bd7a16..e8c3a65 100755
e0018b
--- a/scripts/do_abidiff
e0018b
+++ b/scripts/do_abidiff
e0018b
@@ -29,7 +29,7 @@ build_rpm()
e0018b
 	version="$(./git-version)"
e0018b
 	release="f$(basename $(readlink -f /etc/mock/default.cfg) | cut -d- -f2)"
e0018b
 	git archive  --format=tar --prefix="ndctl-${version}/" HEAD | gzip > ndctl-${version}.tar.gz
e0018b
-	fedpkg --release $release --module-name ndctl mockbuild
e0018b
+	fedpkg --release $release --name=ndctl mockbuild
e0018b
 	[ "$?" -eq 0 ] || err "error building $ref"
e0018b
 	mkdir -p release/rel_${ref}/
e0018b
 	cp results_ndctl/*/*/*.x86_64.rpm release/rel_${ref}/
e0018b
-- 
e0018b
2.27.0
e0018b