Lintian Fixes - power-profiles-daemon
Ready changes
Summary
- Trim trailing whitespace. (trailing-whitespace)
- Update standards version to 4.6.0, no changes needed. (out-of-date-standards-version)
- Avoid explicitly specifying -Wl,--as-needed linker flag. (debian-rules-uses-as-needed-linker-flag)
- Trim trailing whitespace. (trailing-whitespace)
- Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse. (upstream-metadata-file-is-missing upstream-metadata-missing-bug-tracking upstream-metadata-missing-repository)
- Update standards version to 4.6.1, no changes needed. (out-of-date-standards-version)
- Avoid explicitly specifying -Wl,--as-needed linker flag. (debian-rules-uses-as-needed-linker-flag)
Diff
diff --git a/debian/changelog b/debian/changelog
index 534c710..cf265d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,7 +67,7 @@ power-profiles-daemon (0.1-3) experimental; urgency=medium
power-profiles-daemon (0.1-2) experimental; urgency=medium
- * debian/copyright:
+ * debian/copyright:
- updated, the tests have different copyright and license
-- Sebastien Bacher <seb128@ubuntu.com> Fri, 19 Feb 2021 17:01:27 +0100
diff --git a/debian/control b/debian/control
index 561ffb1..790ef2a 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Build-Depends: debhelper-compat (= 13),
python3-gi <!nocheck>,
systemd,
umockdev <!nocheck>,
-Standards-Version: 4.5.1
+Standards-Version: 4.6.1
Vcs-Browser: https://salsa.debian.org/freedesktop-team/power-profiles-daemon
Vcs-Git: https://salsa.debian.org/freedesktop-team/power-profiles-daemon.git
Homepage: https://gitlab.freedesktop.org/hadess/power-profiles-daemon
diff --git a/debian/rules b/debian/rules
index da814fa..9573e7d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
%:
dh $@
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b105363
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues
+Bug-Submit: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues/new
+Repository: https://gitlab.freedesktop.org/hadess/power-profiles-daemon.git
+Repository-Browse: https://gitlab.freedesktop.org/hadess/power-profiles-daemon
Run locally
Try this locally (using the lintian-brush package):
debcheckout power-profiles-daemon
cd power-profiles-daemon
DEB_UPDATE_CHANGELOG=auto lintian-brush