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:
14
buildah.spec
14
buildah.spec
@@ -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.
|
||||
|
Reference in New Issue
Block a user