SHA256
1
0
forked from pool/podman

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
This commit is contained in:
Dan Čermák 2023-02-21 09:02:41 +00:00 committed by Git OBS Bridge
parent 0044a48b01
commit 1b2b3d5a2a
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 21 07:40:30 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
- podman.spec: set PREFIX at build stage (boo#1208510)
-------------------------------------------------------------------
Fri Feb 17 13:39:16 UTC 2023 - Dan Čermák <dcermak@suse.com>

View File

@ -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