SHA256
1
0
forked from pool/buildah

Accepting request 728755 from devel:kubic

OBS-URL: https://build.opensuse.org/request/show/728755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/buildah?expand=0&rev=18
This commit is contained in:
2019-09-07 09:53:50 +00:00
committed by Git OBS Bridge
parent f840c322ef
commit 9cab70a589
5 changed files with 34 additions and 17 deletions

View File

@@ -22,7 +22,7 @@
%define with_libostree 1
%endif
Name: buildah
Version: 1.10.1
Version: 1.11.0
Release: 0
Summary: Tool for building OCI containers
License: Apache-2.0
@@ -79,18 +79,8 @@ rm -rf $HOME/go/src/%{project}/*
cp -avr * $HOME/go/src/%{project}
cd $HOME/go/src/%{project}
# TODO: remove this in a later release of buildah and let the make targets
# discover the tags correctly
%if 0%{?with_libostree}
echo "Compiling with libostree support"
export BUILDTAGS="seccomp apparmor"
%else
echo "Compiling without libostree support"
export BUILDTAGS="seccomp apparmor containers_image_ostree_stub"
%endif
# Build buildah
make %{?_smp_mflags} BUILDTAGS='$BUILDTAGS' GIT_COMMIT=unknown EXTRALDFLAGS=-buildmode=pie
make %{?_smp_mflags} GIT_COMMIT=unknown EXTRALDFLAGS=-buildmode=pie
%check
# Too many tests fail due to the restricted permissions in the build enviroment.