Lintian Fixes - clojure

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/clojure lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index b4906b3f..2426a367 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+clojure (1.10.2-2) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Repository, Repository-Browse.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 12 Feb 2021 00:59:15 -0000
+
 clojure (1.10.2-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de3947..00000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index 3611fc15..294f3cb9 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Clojure Maintainers <pkg-clojure-maintainers@lists.alioth.deb
 Uploaders: Elana Hashman <ehashman@debian.org>
 Build-Depends:
  ant,
- debhelper (>= 11),
+ debhelper-compat (= 12),
  default-jdk | openjdk-11-jdk,
  javahelper,
  libcore-specs-alpha-clojure (>= 0.2.56),
@@ -15,7 +15,7 @@ Build-Depends:
 Standards-Version: 4.5.1
 Vcs-Git: https://salsa.debian.org/clojure-team/clojure.git
 Vcs-Browser: https://salsa.debian.org/clojure-team/clojure
-Homepage: http://clojure.org
+Homepage: https://clojure.org
 
 Package: clojure
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 88694632..5db721e6 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: Clojure
 Source: https://github.com/clojure/clojure
 Files-Excluded: .idea
diff --git a/debian/rules b/debian/rules
index 7da4e666..76ca33ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,3 @@ override_dh_installchangelogs:
 	dh_installchangelogs changes.md
 
 override_dh_strip_nondeterminism:
-
-get-orig-source:
-	uscan --download-current-version --force-download --repack --rename --compression xz
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 00000000..55648bb2
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Repository: https://github.com/clojure/clojure.git
+Repository-Browse: https://github.com/clojure/clojure

Debdiff

File lists identical (after any substitutions)

Control files of package clojure: lines which differ (wdiff format)

  • Homepage: http://clojure.org https://clojure.org

Control files of package libclojure-java: lines which differ (wdiff format)

  • Homepage: http://clojure.org https://clojure.org

Run locally

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

debcheckout clojure
cd clojure
lintian-brush

More details

Full run details