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

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