Run of lintian-fixes for ruby-open-uri-redirections

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

debcheckout ruby-open-uri-redirections
cd ruby-open-uri-redirections
lintian-brush

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 56cf15d..81795e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+ruby-open-uri-redirections (0.2.1-2) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Add debian/watch file, using github.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 25 Jul 2020 14:53:12 -0000
+
 ruby-open-uri-redirections (0.2.1-1) unstable; urgency=medium
 
   * Initial release (Closes: #914987)
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index f7a911d..a93f1fe 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Freexian Packaging Team <team+freexian@tracker.debian.org>
 Uploaders: Sebastien Delafond <seb@debian.org>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
  gem2deb,
  rake,
  ruby-rspec,
@@ -22,4 +22,4 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter, ${shlibs:Depends}, ${misc:Depends}
 Description: openuri patch to allow redirections between HTTP and HTTPS
  This applies a patch to OpenURI to optionally allow redirections from
- HTTP to HTTPS, or from HTTPS to HTTP.
\ No newline at end of file
+ HTTP to HTTPS, or from HTTPS to HTTP.
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..bc3b4ff
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/open-uri-redirections/open_uri_redirections/issues
+Bug-Submit: https://github.com/open-uri-redirections/open_uri_redirections/issues/new
+Repository: https://github.com/open-uri-redirections/open_uri_redirections.git
+Repository-Browse: https://github.com/open-uri-redirections/open_uri_redirections
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c5e916c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/open_uri_redirections-$1\.tar\.gz/ https://github.com/open-uri-redirections/open_uri_redirections/tags .*\/v(\d\S+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Full worker log Full build log