Skip to content
Permalink
Browse files
Support use of fake libmozjs185 pkg in automated pkg builds
  • Loading branch information
wohali committed Jul 21, 2017
1 parent 2bec4ec commit 34bfa2f8c30a7f5f48a8d34c08d3659fc9bb38eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
@@ -49,7 +49,7 @@ xenial: debian
# RPM default
centos: find-couch-dist link-couch-dist build-rpm

centos6: make-rpmbuild install-js185 centos
centos6: make-rpmbuild centos

centos7: make-rpmbuild centos rm-js185-rpms

@@ -93,7 +93,8 @@ make-rpmbuild:

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

# ######################################
make-js185:
@@ -33,6 +33,7 @@ Depends: adduser,
curl,
debconf,
init-system-helpers,
libmozjs185-1.0,
procps,
python,
python-requests,
@@ -35,3 +35,7 @@ override_dh_auto_install:

get-orig-source:
uscan --noconf --download-current-version --destdir=. --rename

# this allows us to use a fake/equivs libmozjs185-1.0 in automated testing
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

0 comments on commit 34bfa2f

Please sign in to comment.