Control: tags -1 patch

On Sat, 7 Dec 2024 20:51:00 +0100 Niels Thykier <ni...@thykier.net> wrote:
Source: most
Version: 5.2.0-1
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`,
most failed to rebuild.

[...]

Hi

Please see attached patch as a way to solve this bug.

Best regards,
Niels

diff -Nru most-5.2.0/debian/changelog most-5.2.0/debian/changelog
--- most-5.2.0/debian/changelog 2023-07-01 00:36:24.000000000 +0200
+++ most-5.2.0/debian/changelog 2024-12-17 06:55:11.000000000 +0100
@@ -1,3 +1,10 @@
+most (5.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support rootless builds (Closes: #1089393)
+
+ -- Niels Thykier <ni...@thykier.net>  Tue, 17 Dec 2024 05:55:11 +0000
+
 most (5.2.0-1) unstable; urgency=medium
 
   * New upstream release. Closes: #99097
diff -Nru most-5.2.0/debian/control most-5.2.0/debian/control
--- most-5.2.0/debian/control   2023-07-01 00:36:24.000000000 +0200
+++ most-5.2.0/debian/control   2024-12-17 06:55:11.000000000 +0100
@@ -2,6 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Benjamin Mako Hill <m...@debian.org> 
+Rules-Requires-Root: no
 Standards-Version: 4.6.2.0
 Build-Depends: debhelper (>=13), libslang2-dev, chrpath, docbook-utils, 
tmexpand
 
diff -Nru most-5.2.0/debian/rules most-5.2.0/debian/rules
--- most-5.2.0/debian/rules     2023-07-01 00:36:24.000000000 +0200
+++ most-5.2.0/debian/rules     2024-12-17 06:55:11.000000000 +0100
@@ -20,9 +20,9 @@
 CC ?= gcc
 CFLAGS += -Wall -DUTF8
 
-install_binary= install -o root -g root -m 755
-install_script= install -o root -g root -m 755
-install_files=  install -o root -g root -m 644
+install_binary= install -m 755
+install_script= install -m 755
+install_files=  install -m 644
 
 # The next section may have to be extensively modified
 

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to