diff --git a/podman.changes b/podman.changes index 020a299..8bf4c08 100644 --- a/podman.changes +++ b/podman.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 21 07:40:30 UTC 2023 - Danish Prakash + +- podman.spec: set PREFIX at build stage (boo#1208510) + ------------------------------------------------------------------- Fri Feb 17 13:39:16 UTC 2023 - Dan Čermák diff --git a/podman.spec b/podman.spec index d603b58..29c2863 100644 --- a/podman.spec +++ b/podman.spec @@ -113,7 +113,7 @@ pages and %{name}. %build # Build podman -BUILDFLAGS="-buildmode=pie" %make_build +BUILDFLAGS="-buildmode=pie" PREFIX=%{_prefix} %make_build # Build manpages %make_build docs @@ -123,7 +123,7 @@ BUILDFLAGS="-buildmode=pie" %make_build # Updates must be tested manually. %install -%make_install PREFIX=/usr LIBEXECDIR=%{_libexecdir} install.completions install.docker +%make_install PREFIX=%{_prefix} LIBEXECDIR=%{_libexecdir} install.completions install.docker # remove the user tmpfile on SLE/Leap as it cannot handle them %if 0%{?suse_version} == 1500