From 290a76309d1d0eeeb2a35a7028bcf080f60f1c26 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 28 Jun 2023 09:48:27 -0400 Subject: [PATCH] [CI:BUILD] RPM: fix ELN builds For Fedora, we need to ensure ELN builds are successful. The recent skopeo builds have been failing on copr because of /usr/bin/go-md2man being available via different package names. https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/build/6119200/ This commit changes go-md2man dependency directly on the binary path instead of a pacakge. ELN scratch builds are now successful: https://koji.fedoraproject.org/koji/taskinfo?taskID=102706281 Signed-off-by: Lokesh Mandvekar --- rpm/skopeo.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/skopeo.spec b/rpm/skopeo.spec index b1183b1c..2c277ef8 100644 --- a/rpm/skopeo.spec +++ b/rpm/skopeo.spec @@ -52,7 +52,7 @@ Summary: Inspect container images and repositories on registries URL: https://github.com/containers/%{name} # Tarball fetched from upstream Source0: %{url}/archive/v%{version}.tar.gz -BuildRequires: go-md2man +BuildRequires: %{_bindir}/go-md2man %if %{defined build_with_btrfs} BuildRequires: btrfs-progs-devel %endif