From 231027e257a4de2decbd4402ba5a28e2bded59e4 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 1 Mar 2018 23:23:31 +0300 Subject: Packages: added epel-release to unit-go dependencies on CentOS 6. --- pkg/rpm/Makefile.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg') diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go index 7f2f5438..8c18c573 100644 --- a/pkg/rpm/Makefile.go +++ b/pkg/rpm/Makefile.go @@ -12,7 +12,12 @@ MODULE_INSTARGS_go= go-install MODULE_SOURCES_go= unit.example-go-app \ unit.example-go-config +ifeq ($(OSVER), centos6) +BUILD_DEPENDS_go= epel-release golang +else BUILD_DEPENDS_go= golang +endif + BUILD_DEPENDS+= $(BUILD_DEPENDS_go) define MODULE_DEFINITIONS_go -- cgit