Control: tags -1 patch

Niels Thykier:
Source: witalian
Version: 1.10
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
witalian failed to rebuild.

[...]


Please see attached patch.

Best regards,
Niels

From 96ff3e0313e07f0ff632268d8f81344f937fcd3c Mon Sep 17 00:00:00 2001
From: Niels Thykier <ni...@thykier.net>
Date: Sun, 15 Dec 2024 13:54:23 +0000
Subject: [PATCH] Support building without root

Closes: #1089465
---
 debian/control | 1 +
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b4d2649..4daa094 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Build-Depends: debhelper (>= 10)
 Build-Depends-Indep: dictionaries-common-dev
 Maintainer: Davide G. M. Salvetti <sa...@debian.org>
+Rules-Requires-Root: no
 Standards-Version: 4.1.4
 Vcs-Browser: https://salsa.debian.org/salve/witalian
 Vcs-Git: https://salsa.debian.org/salve/witalian.git
diff --git a/debian/rules b/debian/rules
index a863f64..f70b19c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ SBUILD := sbuild --verbose
 
 .PHONY: override_dh_auto_install
 override_dh_auto_install:
-	dh_auto_install -- prefix=/usr
+	dh_auto_install -- prefix=/usr INSTALL=install
 
 .PHONY: override_dh_installdebconf
 override_dh_installdebconf:
-- 
2.45.2

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to