From 9489f19528fa88ce60b11236e4bf5eaef5835ddf Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 28 Jan 2022 16:18:12 -0500 Subject: [PATCH] remove conditional gobuild macro definition Signed-off-by: Lokesh Mandvekar --- podman.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/podman.spec b/podman.spec index 8651831..b0efe09 100644 --- a/podman.spec +++ b/podman.spec @@ -7,10 +7,6 @@ %global debug_package %{nil} %endif -%if ! 0%{?gobuild:1} -%define gobuild(o:) GO111MODULE=off 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