Lintian Fixes - php-raphf

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 69f1319..9ac0f44 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+php-raphf (2.0.1+1.1.2-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Change priority extra to priority optional.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Remove Priority on php-raphf-dev that duplicates source.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 18 Aug 2020 08:55:25 -0000
+
 php-raphf (2.0.1+1.1.2-1) unstable; urgency=medium
 
   * New upstream version 2.0.1+1.1.2
@@ -74,4 +88,3 @@ php-raphf (1.0.4-1) unstable; urgency=low
   * This dupload has been sponsored by OLX Inc.
 
  -- Facundo Guerrero <guerremdq@gmail.com>  Tue, 04 Feb 2014 13:25:31 -0300
-
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 3aaa4de..aed7b51 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Priority: optional
 Maintainer: Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
 Uploaders: Facundo Guerrero <guerremdq@gmail.com>,
            Ondřej Surý <ondrej@debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper-compat (= 12),
                dh-php (>= 0.33~),
                php-all-dev
 Standards-Version: 3.9.8
-Homepage: http://pecl.php.net/package/raphf
+Homepage: https://pecl.php.net/package/raphf
 Vcs-Git: https://salsa.debian.org/php-team/pecl/php-raphf.git
 Vcs-Browser: https://salsa.debian.org/php-team/pecl/php-raphf
 
@@ -28,7 +28,6 @@ Description: raphf module for PHP
 Package: php-raphf-dev
 Architecture: all
 Section: oldlibs
-Priority: extra
 Depends: php-raphf,
          ${misc:Depends}
 Description: raphf module for PHP development headers [dummy]
diff --git a/debian/copyright b/debian/copyright
index e9d4260..a72ebd6 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: raphf
 Upstream-Contact: Michael Wallner <mike@php.net>
 Source: http://pecl.php.net/package/raphf
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..37568cf
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/m6w6/ext-raphf/issues
+Bug-Submit: https://github.com/m6w6/ext-raphf/issues/new
+Repository: https://github.com/m6w6/ext-raphf.git
+Repository-Browse: https://github.com/m6w6/ext-raphf

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/99/9a041a7b9b6874a09cb78df8269b3c4da27ce0.debug

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/.build-id/68/23bd6097c6bc60d9d92aa9daeeb831a379e221.debug

Control files of package php-raphf: lines which differ (wdiff format)

  • Homepage: http://pecl.php.net/package/raphf https://pecl.php.net/package/raphf

Control files of package php-raphf-dbgsym: lines which differ (wdiff format)

  • Build-Ids: 6823bd6097c6bc60d9d92aa9daeeb831a379e221 999a041a7b9b6874a09cb78df8269b3c4da27ce0

Control files of package php-raphf-dev: lines which differ (wdiff format)

  • Homepage: http://pecl.php.net/package/raphf https://pecl.php.net/package/raphf
  • Priority: extra optional

Run locally

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

debcheckout php-raphf
cd php-raphf
lintian-brush

More details

Full run details