Packages: made unit-go architecture-dependent.
This closes #172 issue on GitHub.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user