summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.go
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-06-21 15:04:19 +0400
committerKonstantin Pavlov <thresh@nginx.com>2022-06-21 15:04:19 +0400
commit97124fc349a0deae49ef547f65636b8bb1333ecd (patch)
treec034a49163702a22155b7041183e9a80e219001e /pkg/rpm/Makefile.go
parentc65e04682e85cc708b534863ae8f4e069ccccf64 (diff)
downloadunit-97124fc349a0deae49ef547f65636b8bb1333ecd.tar.gz
unit-97124fc349a0deae49ef547f65636b8bb1333ecd.tar.bz2
Packaging: removed support for SLES and derivatives.
The packages were never built for those OSes.
Diffstat (limited to 'pkg/rpm/Makefile.go')
-rw-r--r--pkg/rpm/Makefile.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go
index a1421bee..aacbe2b9 100644
--- a/pkg/rpm/Makefile.go
+++ b/pkg/rpm/Makefile.go
@@ -15,28 +15,17 @@ MODULE_SOURCES_go= unit.example-go-app \
ifeq ($(OSVER), centos6)
BUILD_DEPENDS_go= epel-release golang
-else ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed))
-BUILD_DEPENDS_go= go1.9
else
BUILD_DEPENDS_go= golang
endif
BUILD_DEPENDS+= $(BUILD_DEPENDS_go)
-ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed))
define MODULE_DEFINITIONS_go
BuildArch: noarch
Requires: unit-devel == $(VERSION)-$(RELEASE)%{?dist}.ngx
BuildRequires: $(BUILD_DEPENDS_go)
-%define gopath /usr/share/go/contrib
endef
-else
-define MODULE_DEFINITIONS_go
-BuildArch: noarch
-Requires: unit-devel == $(VERSION)-$(RELEASE)%{?dist}.ngx
-BuildRequires: $(BUILD_DEPENDS_go)
-endef
-endif
export MODULE_DEFINITIONS_go
define MODULE_PREINSTALL_go