Skip to content

Commit

Permalink
Update Debian Compatibility Level
Browse files Browse the repository at this point in the history
This commit updates the Debian compatibility level to adhere to the recommendations outlined in the Debian documentation:
https://www.debian.org/doc/manuals/maint-guide/dother.en.html#compat

This change resolves the following warning generated by debhelper:
```text
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
```

Additionally, the conditional value for Ubuntu Oneiric has been removed, as the latest version no longer requires it.

Signed-off-by: Meet Gandhi <[email protected]>
  • Loading branch information
meetgandhi-dev committed Nov 30, 2024
1 parent b42a1dd commit 8981f9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bloom/generators/debian/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,9 @@ def generate_substitutions_from_package(
if not maybe_continue('n', 'Continue anyways'):
sys.exit("User quit.")
data['changelogs'] = changelogs
# Use debhelper version 7 for oneric, otherwise 9
data['debhelper_version'] = 7 if os_version in ['oneiric'] else 9
# Use compat version 10 as recommended by debian
# https://www.debian.org/doc/manuals/maint-guide/dother.en.html#compat
data['debhelper_version'] = 10
# Summarize dependencies
summarize_dependency_mapping(data, depends, build_depends, resolved_deps)
# Copyright
Expand Down

0 comments on commit 8981f9b

Please sign in to comment.