buildable on centos7
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This commit is contained in:
parent
a225687914
commit
7aa9b00b7d
11
buildah.spec
11
buildah.spec
@ -8,6 +8,10 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if ! 0%{?gobuild:1}
|
||||
%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" -a -v -x %{?**};
|
||||
%endif
|
||||
|
||||
%global provider github
|
||||
%global provider_tld com
|
||||
%global project containers
|
||||
@ -40,11 +44,14 @@ BuildRequires: libassuan-devel
|
||||
BuildRequires: make
|
||||
Requires: runc >= 1.0.0-17
|
||||
Requires: containers-common
|
||||
%if 0%{?fedora}
|
||||
Recommends: container-selinux
|
||||
Recommends: slirp4netns >= 0.3-0
|
||||
%if 0%{?fedora} > 28
|
||||
Recommends: fuse-overlayfs
|
||||
%endif
|
||||
%else
|
||||
Requires: container-selinux
|
||||
Requires: slirp4netns >= 0.3-0
|
||||
%endif # fedora
|
||||
|
||||
%description
|
||||
The %{name} package provides a command line tool which can be used to
|
||||
|
Loading…
Reference in New Issue
Block a user