Customize lintian warnings and errors
My current environment variables that help debuilds, i.e., part of my ~/.bashrc. These could, and probably should be, placed in the next file.
export DEBEMAIL=bgstack15@gmail.com export DEBFULLNAME="B. Stack"
My current ~/.devscripts:
RMADISON_URL_MAP_DEVUAN=https://api.pkginfo.devuan.org/madison DEBUILD_LINTIAN_OPTS="--profile stackrpms" DEBUILD_DPKG_BUILDPACKAGE_OPTS="-us -uc -sa -i -I"
I wrote file /usr/share/lintian/profiles/stackrpms/main.profile.
# The default profile for stackrpms builds Profile: stackrpms/main Extends: debian/main Disable-Tags: bugs-field-does-not-refer-to-debian-infrastructure maintainer-upload-has-incorrect-version-number bad-distribution-in-changes-file
And now I never have to see those by name again.
In conclusion, now I only need to run this:
time debuild
Instead of some longer invocation of debuild -us -uc --lintian-opts --profile=stackrpms which was not guaranteed to grab the lintian opts value.
References
Change the last value of this url with whichever tag you are investigating. https://udd.debian.org/lintian-tag/bad-distribution-in-changes-file
Comments