Lintian Fixes - libsigscan

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/control b/debian/control
index fc562b0..2b543b0 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper-compat (= 11),
  pkg-config,
  libbfio-dev,
  python3-dev,
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Section: libs
 Homepage: https://github.com/libyal/libsigscan
 Vcs-Git: https://salsa.debian.org/pkg-security-team/libsigscan.git
diff --git a/debian/patches/ac-path-pkgconfig.patch b/debian/patches/ac-path-pkgconfig.patch
new file mode 100644
index 0000000..3f65a3f
--- /dev/null
+++ b/debian/patches/ac-path-pkgconfig.patch
@@ -0,0 +1,24 @@
+Description: Use cross-build compatible macro for finding pkg-config.
+ .
+ The package uses AC_PATH_PROG to discover the location of pkg-config(1). This
+ macro fails to select the correct version to support cross-compilation.
+ .
+ This patch changes it to use AC_PATH_TOOL.
+ .
+ Refer to https://bugs.debian.org/884798 for details.
+Origin: other
+Last-Update: 2022-02-22
+
+=== modified file 'configure.ac'
+--- a/configure.ac	2020-12-05 13:51:50 +0000
++++ b/configure.ac	2022-02-22 08:56:52 +0000
+@@ -30,7 +30,7 @@
+ AC_SUBST(LIBTOOL_DEPS)
+ 
+ dnl Check for pkg-config
+-AC_PATH_PROG(PKGCONFIG,[pkg-config])
++AC_PATH_TOOL(PKGCONFIG,[pkg-config])
+ 
+ dnl Support of internationalization (i18n)
+ AM_GNU_GETTEXT([external])
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cb99cc8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ac-path-pkgconfig.patch
diff --git a/debian/rules b/debian/rules
index daee4a1..3eb2027 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,6 @@
 #export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 export SKIP_PYTHON_TESTS=1
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index a6ac04a..4ccd4a0 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,3 +1,4 @@
 ---
 Bug-Database: https://github.com/libyal/libsigscan/issues
 Bug-Submit: https://github.com/libyal/libsigscan/issues/new
+Repository-Browse: https://github.com/libyal/libsigscan
diff --git a/debian/watch b/debian/watch
index b85d62d..fc131d2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/libyal/libsigscan/releases /.*/libsigscan-.*-(.*)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package libsigscan-dev

No differences were encountered between the control files of package libsigscan-utils

No differences were encountered between the control files of package libsigscan-utils-dbgsym

No differences were encountered between the control files of package libsigscan1

No differences were encountered between the control files of package libsigscan1-dbgsym

No differences were encountered between the control files of package python3-libsigscan

No differences were encountered between the control files of package python3-libsigscan-dbgsym

Run locally

More details

Full run details