Implement lintian recommendations

- Add upstream/metadata
- Enable hardened rules
- Increment Standards-Version
This commit is contained in:
alan (NyxTrail) 2024-02-03 12:23:52 +00:00
parent 0203d83040
commit a929d1f961
3 changed files with 9 additions and 17 deletions

2
debian/control vendored
View File

@ -5,7 +5,7 @@ Maintainer: Alan M Varghese (NyxTrail) <alan@digistorm.in>
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

8
debian/rules vendored
View File

@ -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 $@

View File

@ -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: <please use full names and separate multiple author by the keyword "and">
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