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