d/control: define compat level via build-depends and raise to 12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-06 09:55:01 +02:00
parent 834031ec63
commit 411eb18222
3 changed files with 4 additions and 3 deletions

View File

@ -27,10 +27,12 @@ all: $(DEBS)
submodule: submodule:
test -f "$(SRCDIR)/debian/changelog" || git submodule update --init test -f "$(SRCDIR)/debian/changelog" || git submodule update --init
# FIXME: fully merge our and upstream (which is also the upstream for debian's "downstream") packaging
# so that the top-level debian directory is the canonical source.
$(BUILDDIR): submodule debian/changelog $(BUILDDIR): submodule debian/changelog
rm -rf $@ $@.tmp rm -rf $@ $@.tmp
cp -a $(SRCDIR) $@.tmp cp -a $(SRCDIR) $@.tmp
rm $@.tmp/debian/changelog rm $@.tmp/debian/changelog $@.tmp/debian/compat
cp -a debian/* $@.tmp/debian/ cp -a debian/* $@.tmp/debian/
mv $@.tmp $@ mv $@.tmp $@

1
debian/compat vendored
View File

@ -1 +0,0 @@
10

2
debian/control vendored
View File

@ -5,8 +5,8 @@ Maintainer: David Lamparter <equinox-debian@diac24.net>
Uploaders: FRRouting-dev <dev@lists.frrouting.org> Uploaders: FRRouting-dev <dev@lists.frrouting.org>
Build-Depends: bison, Build-Depends: bison,
chrpath, chrpath,
debhelper (>= 10~) | dh-systemd,
debhelper (>= 9.20150101~), debhelper (>= 9.20150101~),
debhelper-compat (= 12),
flex, flex,
gawk, gawk,
install-info, install-info,