From d1d706350e19721337826ae8e8de96e70d75c26e Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Thu, 7 Aug 2025 14:39:56 -0400 Subject: [PATCH] rpm: don't list /sbin/zgenhostid twice in %files The location of zgenhostid was changed in 0ae733c7a (Install zgenhostid to sbindir, 2021-01-21). We include all files within sbindir two lines earlier, which causes rpmbuild to report: File listed twice: /sbin/zgenhostid Drop the redundant entry from the %files section. Reviewed-by: Brian Behlendorf Signed-off-by: Todd Zullinger Closes #17601 --- rpm/generic/zfs.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 47313a6b5..dd2eb3814 100644 --- a/rpm/generic/zfs.spec.in +++ b/rpm/generic/zfs.spec.in @@ -506,7 +506,6 @@ systemctl --system daemon-reload >/dev/null || true # Core utilities %{_sbindir}/* %{_bindir}/raidz_test -%{_sbindir}/zgenhostid %{_bindir}/zvol_wait # Optional Python 3 scripts %{_bindir}/arc_summary