Lintian Fixes - golang-github-mvo5-goconfigparser
Ready changes
Summary
- Use secure copyright file specification URI. ( insecure-copyright-format-uri )
- Use secure URI in Homepage field. ( homepage-field-uses-insecure-uri )
- Bump debhelper from deprecated 9 to 13. ( package-uses-deprecated-debhelper-compat-version )
- Set debhelper-compat version in Build-Depends. ( uses-debhelper-compat-file )
- Change priority extra to priority optional. ( priority-extra-is-replaced-by-priority-optional )
- Set upstream metadata fields: Repository-Browse. ( upstream-metadata-file-is-missing )
- Use canonical URL in Vcs-Git. ( vcs-field-not-canonical )
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository. ( upstream-metadata-missing-bug-tracking , upstream-metadata-missing-repository )
- Add debian/watch file, using github. ( debian-watch-file-is-missing )
Diff
diff --git a/debian/changelog b/debian/changelog
index b3d8a15..642c7d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+golang-github-mvo5-goconfigparser (0.2.2-2) UNRELEASED; urgency=medium
+
+ * Use secure copyright file specification URI.
+ * Use secure URI in Homepage field.
+ * Bump debhelper from deprecated 9 to 13.
+ * Set debhelper-compat version in Build-Depends.
+ * Change priority extra to priority optional.
+ * Set upstream metadata fields: Repository-Browse.
+ * Use canonical URL in Vcs-Git.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
+ * Add debian/watch file, using github.
+
+ -- Debian Janitor <janitor@jelmer.uk> Mon, 20 Mar 2023 19:53:28 -0000
+
golang-github-mvo5-goconfigparser (0.2.2-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 0a41266..bb02670 100644
--- a/debian/control
+++ b/debian/control
@@ -1,16 +1,16 @@
Source: golang-github-mvo5-goconfigparser
Section: devel
-Priority: extra
+Priority: optional
Maintainer: Steve Langasek <vorlon@debian.org>, Michael Vogt <michael.vogt@ubuntu.com>
Build-Depends:
- debhelper (>= 9),
+ debhelper-compat (= 13),
dh-golang,
golang-go,
golang-check.v1-dev,
Standards-Version: 3.9.7
-Homepage: http://github.com/mvo5/goconfigparser
+Homepage: https://github.com/mvo5/goconfigparser
Vcs-Browser: https://github.com/mvo5/goconfigparser/tree/debian
-Vcs-Git: https://github.com/mvo5/goconfigparser -b debian
+Vcs-Git: https://github.com/mvo5/goconfigparser.git -b debian
Package: golang-github-mvo5-goconfigparser-dev
Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 206d149..c83c058 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: goconfigparser
Source: https://github.com/mvo5/goconfigparser
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..ee2a48b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/mvo5/goconfigparser/issues
+Bug-Submit: https://github.com/mvo5/goconfigparser/issues/new
+Repository: https://github.com/mvo5/goconfigparser.git
+Repository-Browse: https://github.com/mvo5/goconfigparser
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..06fc19a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/goconfigparser-$1\.tar\.gz/ https://github.com/mvo5/goconfigparser/tags .*\/(\d\S+)\.tar\.gz
Debdiff
File lists identical (after any substitutions)
Control files: lines which differ (wdiff format)
Homepage: http://github.com/mvo5/goconfigparser https://github.com/mvo5/goconfigparser
Priority: extra optional