Commit d20c67e2 authored by Jelmer Vernooij's avatar Jelmer Vernooij

Add fixer for package-needs-versioned-debhelper-build-depends.

parent 314721be
lintian-brush (0.7) UNRELEASED; urgency=medium
* Add fixer for package-needs-versioned-debhelper-build-depends.
-- Jelmer Vernooij <jelmer@debian.org> Fri, 09 Nov 2018 21:07:23 +0000
lintian-brush (0.6) unstable; urgency=medium
* useless-autoreconf-build-depends: Actually require changes, don't
......
......@@ -52,6 +52,9 @@ Lintian-Tags: missing-vcs-browser-field
Fix-Script: out-of-date-copyright-format-uri.sh
Lintian-Tags: out-of-date-copyright-format-uri
Fix-Script: package-needs-versioned-debhelper-build-depends.py
Lintian-Tags: package-needs-versioned-debhelper-build-depends
Fix-Script: package-uses-deprecated-source-override-location.sh
Lintian-Tags: package-uses-deprecated-source-override-location
......
#!/usr/bin/python3
from lintian_brush.control import (
ensure_minimum_version,
update_control,
)
with open('debian/compat', 'r') as f:
minimum_version = f.read().strip()
def bump_debhelper(control):
control["Build-Depends"] = ensure_minimum_version(
control["Build-Depends"],
"debhelper",
minimum_version)
update_control(source_package_cb=bump_debhelper)
print("Bump debhelper dependency to >= %s, since that's what is "
"used in debian/compat." % minimum_version)
print("Fixed-Lintian-Tags: package-needs-versioned-debhelper-build-depends")
Source: f2fs-tools
Section: admin
Priority: optional
Maintainer: Jelmer Vernooij <jelmer@debian.org>
Build-Depends:
debhelper (>= 9),
pkg-config,
uuid-dev
Standards-Version: 4.2.0
Package: f2fs-tools
Architecture: linux-any
Depends: libf2fs5 (= ${binary:Version}), libf2fs-format4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: Tools for Flash-Friendly File System
F2FS is a new filesystem for Linux aimed at NAND flash memory-based storage
devices, such as SSD, eMMC, and SD cards. It is based on Log-structured File
System (LFS).
Bump debhelper dependency to >= 10, since that's what is used in debian/compat.
Fixed-Lintian-Tags: package-needs-versioned-debhelper-build-depends
Source: f2fs-tools
Section: admin
Priority: optional
Maintainer: Jelmer Vernooij <jelmer@debian.org>
Build-Depends:
debhelper (>= 10),
pkg-config,
uuid-dev
Standards-Version: 4.2.0
Package: f2fs-tools
Architecture: linux-any
Depends: libf2fs5 (= ${binary:Version}), libf2fs-format4 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Description: Tools for Flash-Friendly File System
F2FS is a new filesystem for Linux aimed at NAND flash memory-based storage
devices, such as SSD, eMMC, and SD cards. It is based on Log-structured File
System (LFS).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment