From d6698f5d5ff0be2a2f5fae875851d07996c49e76 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 7 Jun 2021 14:13:16 -0400 Subject: [PATCH] Resolves: #1962008 Signed-off-by: Lokesh Mandvekar --- containernetworking-plugins.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/containernetworking-plugins.spec b/containernetworking-plugins.spec index 43e559f..b49ef25 100644 --- a/containernetworking-plugins.spec +++ b/containernetworking-plugins.spec @@ -152,6 +152,9 @@ providing packages with %{import_path} prefix. %autosetup -Sgit -n %{repo}-%{commit0} rm -rf plugins/main/windows +# Use correct paths in cni-dhcp unitfiles +sed -i 's/\/opt\/cni\/bin/\%{_prefix}\/libexec\/cni/' plugins/ipam/dhcp/systemd/cni-dhcp.service + %build export ORG_PATH="%{provider}.%{provider_tld}/%{project}" export REPO_PATH="$ORG_PATH/%{repo}"