diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:15:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:15:44 +0000 |
commit | b91f5837f107761e5b86ddd5f39f4aa0b8385ca0 (patch) | |
tree | ae618e20fc9f8193a709e98be356438b84a0ef1d /debian/gen-provides | |
parent | Adding upstream version 13.3.4. (diff) | |
download | debhelper-b91f5837f107761e5b86ddd5f39f4aa0b8385ca0.tar.xz debhelper-b91f5837f107761e5b86ddd5f39f4aa0b8385ca0.zip |
Adding debian version 13.3.4.debian/13.3.4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/gen-provides')
-rw-r--r-- | debian/gen-provides | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/gen-provides b/debian/gen-provides new file mode 100644 index 0000000..c9e971e --- /dev/null +++ b/debian/gen-provides @@ -0,0 +1,21 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib qw(error); + +my @provides; +my $lowest = Debian::Debhelper::Dh_Lib::LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL + // error("LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL is undef"); +my $highest = Debian::Debhelper::Dh_Lib::HIGHEST_STABLE_COMPAT_LEVEL + // error("HIGHEST_STABLE_COMPAT_LEVEL is undef"); + +if ($highest < $lowest) { + error("HIGHEST_STABLE_COMPAT_LEVEL is lower than LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL"); +} + +for (my $i = $lowest ; $i <= $highest ; $i++) { + push(@provides, "debhelper-compat (= $i)"); +} +print "dh:CompatLevels=" . join(", ", @provides) . "\n"; + |