From a929d1f961836ab0c3c640f047040380f76dea14 Mon Sep 17 00:00:00 2001 From: "alan (NyxTrail)" Date: Sat, 3 Feb 2024 12:23:52 +0000 Subject: [PATCH] Implement lintian recommendations - Add upstream/metadata - Enable hardened rules - Increment Standards-Version --- debian/control | 2 +- debian/rules | 8 ++++---- debian/upstream/metadata | 16 ++++------------ 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/debian/control b/debian/control index 2537733..07a8246 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Alan M Varghese (NyxTrail) Build-Depends: cmake, debhelper-compat (= 13), hyprland-protocols (= 0.2~20230811-1), libudis86-dev (= 0~20221013-1) -Standards-Version: 4.6.1 +Standards-Version: 4.6.2 Homepage: https://hyprland.org Rules-Requires-Root: no #Vcs-Git: https://salsa.debian.org/debian/hyprland.git diff --git a/debian/rules b/debian/rules index a6e1aa1..016b9c0 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,9 @@ #!/usr/bin/make -f # You must remove unused comment lines for the released package. -#export DH_VERBOSE = 1 -#export DEB_BUILD_MAINT_OPTIONS = hardening=+all -#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 +export DH_VERBOSE = 1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 %: dh $@ diff --git a/debian/upstream/metadata b/debian/upstream/metadata index dc2feb0..1fa714e 100644 --- a/debian/upstream/metadata +++ b/debian/upstream/metadata @@ -2,15 +2,7 @@ # DEP-12: Per-package machine-readable metadata about Upstream # Please check * https://dep-team.pages.debian.net/deps/dep12/ # * https://wiki.debian.org/UpstreamMetadata -Reference: - Author: - Title: - Journal: - Year: - Volume: - Number: - Pages: - DOI: - PMID: - URL: - eprint: +Bug-Database: https://github.com/hyprwm/Hyprland/issues +Bug-Submit: https://github.com/hyprwm/Hyprland/issues/new +Repository: https://github.com/hyprwm/Hyprland +Repository-Browse: https://github.com/hyprwm/Hyprland