Lintian Fixes - libhibernate-commons-annotations-java

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index cf854a2..8cfb0ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+libhibernate-commons-annotations-java (3.2.0.Final-5) UNRELEASED; urgency=medium
+
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Name, Repository,
+    Repository-Browse.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+  * Update standards version to 4.1.1, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 15 May 2021 14:16:57 -0000
+
 libhibernate-commons-annotations-java (3.2.0.Final-4) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index f691b3a..7e83152 100644
--- a/debian/control
+++ b/debian/control
@@ -6,15 +6,15 @@ Uploaders:
  Torsten Werner <twerner@debian.org>,
  Varun Hiremath <varun@debian.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  junit,
  libcommons-logging-java,
  liblog4j1.2-java,
  maven-debian-helper
-Standards-Version: 4.1.0
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/libhibernate-commons-annotations-java.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libhibernate-commons-annotations-java.git
+Standards-Version: 4.1.1
+Vcs-Git: https://salsa.debian.org/java-team/libhibernate-commons-annotations-java.git
+Vcs-Browser: https://salsa.debian.org/java-team/libhibernate-commons-annotations-java
 Homepage: http://www.hibernate.org
 
 Package: libhibernate-commons-annotations-java
diff --git a/debian/rules b/debian/rules
index 7e56830..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-curren-version --force-download
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..69ed492
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Name: Hibernate Commons Annotations
+Bug-Database: http://opensource.atlassian.com/projects/hibernate/browse/HCANN
+Repository: https://svn.jboss.org/repos/hibernate/commons-annotations/tags/3.2.0.Final
+Repository-Browse: https://svn.jboss.org/repos/hibernate/commons-annotations/tags/3.2.0.Final
diff --git a/debian/watch b/debian/watch
index 4d936b3..180e5ec 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/hibernate/hibernate-commons-annotations/tags .*/([\d\.]+).Final.tar.gz

Run locally

Try this locally (using the lintian-brush package):

debcheckout libhibernate-commons-annotations-java
cd libhibernate-commons-annotations-java
lintian-brush

More details

Full run details