From 1b2b3d5a2a97525fb0e95c5374b935edab931c9d4c4c3260931657b8527295be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Tue, 21 Feb 2023 09:02:41 +0000 Subject: [PATCH] Accepting request 1066931 from home:danishprakash:branches:devel:microos - podman.spec: set PREFIX at build stage (boo#1208510) OBS-URL: https://build.opensuse.org/request/show/1066931 OBS-URL: https://build.opensuse.org/package/show/devel:microos/podman?expand=0&rev=17 --- podman.changes | 5 +++++ podman.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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