Packages: made unit-go architecture-dependent.

This closes #172 issue on GitHub.
This commit is contained in:
Andrei Belov
2018-11-29 12:10:16 +03:00
parent db63191719
commit 63d16aa5f6
9 changed files with 2 additions and 137 deletions

View File

@@ -26,13 +26,11 @@ BUILD_DEPENDS+= $(BUILD_DEPENDS_go)
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed))
define MODULE_DEFINITIONS_go
BuildRequires: $(BUILD_DEPENDS_go)
BuildArch: noarch
%define gopath /usr/share/go/contrib
endef
else
define MODULE_DEFINITIONS_go
BuildRequires: $(BUILD_DEPENDS_go)
BuildArch: noarch
endef
endif
export MODULE_DEFINITIONS_go