From e623fbceb21f0c1e2a19edc245f5a93625b1fb36 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 3 Apr 2023 18:18:19 +0530 Subject: [PATCH] Fix ETCDIR usage for future upstream changes in docker wrapper Signed-off-by: Lokesh Mandvekar --- podman.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/podman.spec b/podman.spec index 169f6e1..36e1264 100644 --- a/podman.spec +++ b/podman.spec @@ -393,7 +393,7 @@ cd .. %install install -dp %{buildroot}%{_unitdir} -PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{buildroot}%{_sysconfdir} \ +PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{_sysconfdir} \ install.bin \ install.man \ install.systemd \ @@ -416,9 +416,6 @@ install -dp %{buildroot}%{_libexecdir}/%{name} install -p -m0755 bin/gvproxy %{buildroot}%{_libexecdir}/%{name} cd .. -# Sanitize paths in %%{_bindir}/docker -sed -i 's;%{buildroot}%{_sysconfdir};%{_sysconfdir}/containers;g' %{buildroot}%{_bindir}/docker - # do not include docker and podman-remote man pages in main package for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e remote -e docker`; do echo "$file*" >> podman.file-list