Lintian Fixes - libtools-macro-clojure

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 194e7a9..a3e4a85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,12 @@ libtools-macro-clojure (0.1.5-3) UNRELEASED; urgency=normal
   * Remove constraints unnecessary since buster:
     + Build-Depends: Drop versioned constraint on javahelper and
       maven-repo-helper.
+  * Use secure copyright file specification URI.
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Repository.
+  * Remove unnecessary get-orig-source-target.
 
  -- Louis-Philippe Véronneau <pollo@debian.org>  Sat, 08 Jan 2022 18:34:26 -0500
 
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 14f56ce..4495903 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Clojure Maintainers <team+clojure@tracker.debian.org>
 Uploaders: Elana Hashman <ehashman@debian.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 13),
  javahelper,
  maven-repo-helper,
  default-jdk
diff --git a/debian/copyright b/debian/copyright
index a137a5e..66f8f87 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: tools.macro
 Source: https://github.com/clojure/tools.macro
 
diff --git a/debian/rules b/debian/rules
index 93b26a6..bd22ac7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,3 @@ override_jh_installlibs:
 override_jh_clean:
 	jh_clean
 	rm -f $(CURDIR)/$(PRODUCED_JAR)
-
-get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..c3a754a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,2 @@
+---
+Repository: https://github.com/clojure/tools.macro.git
diff --git a/debian/watch b/debian/watch
index 6ba3418..64129a0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/clojure/tools.macro/tags .*/tools.macro-([\d\.]+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details