You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2019/12/13 19:50:03 UTC

[couchdb-pkg] branch master updated: lintian will no longer break a build; travis fix

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git


The following commit(s) were added to refs/heads/master by this push:
     new 46e86fc  lintian will no longer break a build; travis fix
46e86fc is described below

commit 46e86fc3b5a68bbd35ba9aad48926bd8c912b67e
Author: Joan Touzet <wo...@apache.org>
AuthorDate: Fri Dec 13 11:42:24 2019 -0800

    lintian will no longer break a build; travis fix
---
 .travis.yml |  4 ++--
 Makefile    | 38 ++++++--------------------------------
 2 files changed, 8 insertions(+), 34 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 3f4da1e..50ea731 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,10 +18,10 @@ env:
   matrix:
     - TARGET="js debian-stretch"
     - TARGET="couch debian-stretch ${TARBALL_URL}"
-    - TARGET="js aarch64-debian-stretch"
-    - TARGET="couch aarch64-debian-stretch ${TARBALL_URL}"
     - TARGET="js debian-buster"
     - TARGET="couch debian-buster ${TARBALL_URL}"
+    - TARGET="js arm64v8-debian-buster"
+    - TARGET="couch arm64v8-debian-buster ${TARBALL_URL}"
     - TARGET="js ubuntu-xenial"
     - TARGET="couch ubuntu-xenial ${TARBALL_URL}"
     - TARGET="js ubuntu-bionic"
diff --git a/Makefile b/Makefile
index 1e93cc8..d05f62e 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,6 @@ endif
 
 # Debian default
 debian: find-couch-dist copy-debian update-changelog dpkg lintian copy-pkgs
-debian-no-lintian: find-couch-dist copy-debian update-changelog dpkg copy-pkgs
 
 # Debian 8
 debian-jessie: PLATFORM=jessie
@@ -49,7 +48,7 @@ debian-stretch: stretch
 arm64v8-debian-stretch: aarch64-debian-stretch
 aarch64-debian-stretch: PLATFORM=stretch
 aarch64-debian-stretch: DIST=debian-stretch
-aarch64-debian-stretch: debian-no-lintian
+aarch64-debian-stretch: stretch
 ppc64le-debian-stretch: PLATFORM=stretch
 ppc64le-debian-stretch: DIST=debian-stretch
 ppc64le-debian-stretch: stretch
@@ -63,48 +62,23 @@ debian-buster: buster
 arm64v8-debian-buster: aarch64-debian-buster
 aarch64-debian-buster: PLATFORM=buster
 aarch64-debian-buster: DIST=debian-buster
-aarch64-debian-buster: debian-no-lintian
+aarch64-debian-buster: buster
 buster: debian
 
 
-# Ubuntu 12.04
-ubuntu-precise: PLATFORM=precise
-ubuntu-precise: DIST=ubuntu-precise
-ubuntu-precise: precise
-precise: find-couch-dist copy-debian precise-prep update-changelog dpkg copy-pkgs
-
-precise-prep:
-	sed -i '/dh-systemd/d' $(DISTDIR)/debian/control
-	sed -i '/init-system-helpers/d' $(DISTDIR)/debian/control
-	sed -i 's/ --with=systemd//' $(DISTDIR)/debian/rules
-
-# Ubuntu 14.04
-# Need to work around missing esl erlang-* pkgs for 1:18.3-1 :/
-# No lintian run because of bogus failure on
-# postrm-does-not-call-updaterc.d-for-init.d-script
-# See Ubuntu ufw changelog for why they disabled this check
-ubuntu-trusty: PLATFORM=trusty
-ubuntu-trusty: DIST=ubuntu-trusty
-ubuntu-trusty: trusty
-trusty: find-couch-dist copy-debian trusty-prep update-changelog dpkg copy-pkgs
-
-# see changelog for ubuntu ufw package, this is safe
-trusty-prep:
-	#sudo sed -i 's/conffile/conffile, postrm-does-not-call-updaterc.d-for-init.d-script/' /usr/share/lintian/profiles/couchdb/main.profile
-	sed -i '/erlang-*/d' $(DISTDIR)/debian/control
-
-# Ubuntu 16.04
+# Ubuntu 16.04 (Xenial)
 ubuntu-xenial: PLATFORM=xenial
 ubuntu-xenial: DIST=ubuntu-xenial
 ubuntu-xenial: xenial
 xenial: debian
 
-# Ubuntu 18.04
+# Ubuntu 18.04 (Bionic)
 ubuntu-bionic: PLATFORM=bionic
 ubuntu-bionic: DIST=ubuntu-bionic
 ubuntu-bionic: bionic
 bionic: debian
 
+
 # RPM default
 centos: PKGDIR=../rpmbuild/RPMS/$(PKGARCH)
 centos: find-couch-dist link-couch-dist build-rpm copy-pkgs
@@ -157,7 +131,7 @@ dpkg:
 	cd $(DISTDIR) && dpkg-buildpackage -b -us -uc
 
 lintian:
-	cd $(DISTDIR)/.. && lintian --profile couchdb couch*.deb
+	cd $(DISTDIR)/.. && lintian --profile couchdb couch*.deb || true
 
 # ######################################
 link-couch-dist: