diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/rpm/Makefile.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 |