From 700e81c39a27f40f0767b0bd84c716012738654d Mon Sep 17 00:00:00 2001 From: jeremy theler Date: Sun, 21 Jul 2024 19:09:09 -0300 Subject: [PATCH] flags for lintian --- dist/dsc.sh | 15 ++++++++++++++- dist/rules | 2 ++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/dist/dsc.sh b/dist/dsc.sh index 4218d1b..acb4fc1 100755 --- a/dist/dsc.sh +++ b/dist/dsc.sh @@ -20,8 +20,21 @@ cp ../metadata debian/upstream m4 -Dfeenox_version=${version} ../changelog > debian/changelog rm -f debian/source/control debian/tests/control debian/patches/series debian/source/local-options debian/source/options debian/source/patch-header rmdir debian/patches -rm COPYING +rm -f COPYING debian/feenox/usr/share/doc/feenox/COPYRIGHT.gz debuild +# # we could have also used +# pdebuild cd .. lintian -v -i -I -E --pedantic --profile debian feenox_${version}-1.dsc +lintian -v -i -I -E --pedantic --profile debian feenox_${version}-1.deb +lintian -v -i -I -E --pedantic --profile debian feenox_${version}-1_amd64.changes +lintian -v -i -I -E --pedantic --profile debian feenox_${version}-1_amd64.buildinfo + + +feenox_1.0.66-1_amd64.changes + +# # check +# sudo pbuilder create --debootstrapopts --variant=buildd +# sudo pbuilder update +# sudo pbuilder build feenox_${version}-1.dsc diff --git a/dist/rules b/dist/rules index dd9063b..63844c9 100755 --- a/dist/rules +++ b/dist/rules @@ -1,4 +1,6 @@ #!/usr/bin/make -f +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + %: dh $@ --with autoreconf