Lintian Fixes - protobuf-java-format
Ready changes
Summary
- Use secure copyright file specification URI. ( insecure-copyright-format-uri )
- Update watch file format version to 4. ( older-debian-watch-file-standard )
- Bump debhelper from deprecated 9 to 13. ( package-uses-deprecated-debhelper-compat-version )
- Set debhelper-compat version in Build-Depends. ( uses-debhelper-compat-file )
- Set upstream metadata fields: Bug-Database, Repository, Repository-Browse. ( upstream-metadata-file-is-missing , upstream-metadata-missing-repository )
- Update Vcs-* headers from URL redirect. ( vcs-obsolete-in-debian-infrastructure )
- Use canonical URL in Vcs-Git. ( vcs-field-not-canonical )
- Update pattern for GitHub archive URLs from /<org>/<repo>/tags page/<org>/<repo>/archive/<tag> -> /<org>/<repo>/archive/refs/tags/<tag>.
- Remove unnecessary get-orig-source-target. ( debian-rules-contains-unnecessary-get-orig-source-target )
Lintian Result
Diff
diff --git a/debian/changelog b/debian/changelog
index 5d77bb3..0ceae7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+protobuf-java-format (1.3-2) UNRELEASED; urgency=medium
+
+ * Use secure copyright file specification URI.
+ * Update watch file format version to 4.
+ * Bump debhelper from deprecated 9 to 13.
+ * Set debhelper-compat version in Build-Depends.
+ * Set upstream metadata fields: Bug-Database, Repository, Repository-Browse.
+ * Update Vcs-* headers from URL redirect.
+ * Use canonical URL in Vcs-Git.
+ * Update pattern for GitHub archive URLs from /<org>/<repo>/tags
+ page/<org>/<repo>/archive/<tag> -> /<org>/<repo>/archive/refs/tags/<tag>.
+ * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk> Fri, 02 Sep 2022 16:20:38 -0000
+
protobuf-java-format (1.3-1) unstable; urgency=medium
* New upstream release
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 db281fb..90a5733 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg@apache.org>
-Build-Depends: debhelper (>= 9), default-jdk, maven-debian-helper (>= 2.0)
+Build-Depends: debhelper-compat (= 13), default-jdk, maven-debian-helper (>= 2.0)
Build-Depends-Indep: libhamcrest-java,
libjackson2-core-java,
libjackson2-dataformat-smile,
@@ -13,8 +13,8 @@ Build-Depends-Indep: libhamcrest-java,
protobuf-compiler,
testng
Standards-Version: 3.9.8
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/protobuf-java-format.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/protobuf-java-format.git
+Vcs-Git: https://salsa.debian.org/java-team/protobuf-java-format.git
+Vcs-Browser: https://salsa.debian.org/java-team/protobuf-java-format
Homepage: https://github.com/bivas/protobuf-java-format
Package: libprotobuf-java-format-java
diff --git a/debian/copyright b/debian/copyright
index 65bab3f..8510eb5 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: protobuf-java-format
Source: https://github.com/bivas/protobuf-java-format
Files-Excluded: repo
diff --git a/debian/rules b/debian/rules
index aba914b..ec38b7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
%:
dh $@ --buildsystem=maven
-
-get-orig-source:
- uscan --download-current-version --force-download --no-symlink
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d5aa56b
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: http://code.google.com/p/protobuf-java-format/issues
+Repository: https://protobuf-java-format.googlecode.com/svn/trunk/
+Repository-Browse: https://protobuf-java-format.googlecode.com/svn/trunk/
diff --git a/debian/watch b/debian/watch
index 77a7e4d..29634bb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
-https://github.com/bivas/protobuf-java-format/tags .*/archive/([\d\.]+).tar.gz
+version=4
+https://github.com/bivas/protobuf-java-format/tags .*/archive/refs/tags/([\d\.]+).tar.gz
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files