Lintian Fixes - nats.c
Ready changes
Summary
- Bump debhelper from old 12 to 13. ( package-uses-old-debhelper-compat-version )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-bug-tracking , upstream-metadata-missing-repository )
- Avoid explicitly specifying -Wl,--as-needed linker flag. ( debian-rules-uses-as-needed-linker-flag )
Diff
diff --git a/debian/control b/debian/control
index dee2c05..107962b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: nats.c
Priority: optional
Maintainer: Victor Seva <vseva@debian.org>
Build-Depends:
- cmake (>=3.13),
- debhelper-compat (= 12),
+ cmake (>= 3.13),
+ debhelper-compat (= 13),
libprotobuf-c-dev,
libsodium-dev,
libssl-dev,
diff --git a/debian/rules b/debian/rules
index 8520341..5ca6687 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,6 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --buildsystem=cmake
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..207bd47
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/nats-io/nats.c/issues
+Bug-Submit: https://github.com/nats-io/nats.c/issues/new
+Repository: https://github.com/nats-io/nats.c.git
+Repository-Browse: https://github.com/nats-io/nats.c
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/debug/.build-id/b6/4bb742a45cf5a6fe36f397ddb538f409cb5a93.debug
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/debug/.build-id/8a/3a63aab49ada0bcf22bbc64247351866f660d7.debug
No differences were encountered between the control files of package libnats-dev
No differences were encountered between the control files of package libnats3.3
Control files of package libnats3.3-dbgsym: lines which differ (wdiff format)
Build-Ids: 8a3a63aab49ada0bcf22bbc64247351866f660d7 b64bb742a45cf5a6fe36f397ddb538f409cb5a93