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