Skip to content
Permalink
Browse files
rpm: remove erlang version pinning
  • Loading branch information
wohali committed May 28, 2018
1 parent ee96e2d commit 8902d38de2c507d0909e45b398ddbb772468eae2
Showing 2 changed files with 3 additions and 4 deletions.
@@ -12,7 +12,6 @@

COUCHDIR=../couchdb
DEBCHANGELOG="Automatically generated package from upstream."
ERLANG_VERSION=18.3

JS_DEBCHANGELOG="Automatically generated package from couchdb-ci repository."
JS_VERSION=1.8.5-1.0.0+couch-2
@@ -96,7 +95,7 @@ dpkg:
cd $(DISTDIR) && dpkg-buildpackage -b -us -uc

lintian:
cd $(DISTDIR)/.. && lintian --profile couchdb couch*deb
cd $(DISTDIR)/.. && lintian --profile couchdb couch*.deb

# ######################################
link-couch-dist:
@@ -112,7 +111,7 @@ make-rpmbuild:
# If we don't change $HOME it'll force building in ~/rpmbuild. Boo.
build-rpm:
$(eval HOME := $(shell readlink -f ..))
export HOME=$(HOME) && cd ../rpmbuild && rpmbuild --verbose -bb SPECS/couchdb.spec --define "erlang_version $(ERLANG_VERSION)" --define '_version $(VERSION)'
export HOME=$(HOME) && cd ../rpmbuild && rpmbuild --verbose -bb SPECS/couchdb.spec --define '_version $(VERSION)'

# ######################################
copy-pkgs:
@@ -33,7 +33,7 @@ ExclusiveArch: x86_64
Exclusiveos: linux
Packager: CouchDB Developers <dev@couchdb.apache.org>

BuildRequires: esl-erlang = %{erlang_version}
BuildRequires: esl-erlang
BuildRequires: gcc
BuildRequires: git
BuildRequires: help2man

0 comments on commit 8902d38

Please sign in to comment.