debian: override warnings about closing an ITP bug
This commit is contained in:
parent
cc36ff4800
commit
adf313d0c3
|
@ -541,6 +541,15 @@ ${p}: possible-gpl-code-linked-with-openssl
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print_itp_override () {
|
||||||
|
local p="$1"
|
||||||
|
cat <<EOF
|
||||||
|
# We're not in Debian (yet) so we don't have an ITP bug to close.
|
||||||
|
${p}: new-package-should-close-itp-bug
|
||||||
|
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
print_common_overrides () {
|
print_common_overrides () {
|
||||||
print_long_filename_override "$1"
|
print_long_filename_override "$1"
|
||||||
}
|
}
|
||||||
|
@ -873,10 +882,13 @@ echo "Generating additional lintian overrides..." >&2
|
||||||
grep -e '^Package:' control | while xread l; do
|
grep -e '^Package:' control | while xread l; do
|
||||||
m="${l#*: }"
|
m="${l#*: }"
|
||||||
f=$m.lintian-overrides
|
f=$m.lintian-overrides
|
||||||
if [ ! -s $f ] || ! grep -e 'package-has-long-file-name' $f >/dev/null; then
|
[ -s $f ] || print_edit_warning >> $f
|
||||||
[ -s $f ] || print_edit_warning >> $f
|
if ! grep -e 'package-has-long-file-name' $f >/dev/null; then
|
||||||
print_long_filename_override "$m" >> $f
|
print_long_filename_override "$m" >> $f
|
||||||
fi
|
fi
|
||||||
|
if ! grep -e 'new-package-should-close-itp-bug' $f >/dev/null; then
|
||||||
|
print_itp_override "$m" >> $f
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
for p in freeswitch libfreeswitch1; do
|
for p in freeswitch libfreeswitch1; do
|
||||||
f=$p.lintian-overrides
|
f=$p.lintian-overrides
|
||||||
|
|
Loading…
Reference in New Issue