Control: tags -1 patch

On Sat, 7 Dec 2024 20:00:21 +0100 Niels Thykier <[email protected]> wrote:
Source: dist
Version: 1:3.5-236-1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
dist failed to rebuild.

[...]

Please see attached as a way to solve this bug.

Best regards,
Niels

diff -u dist-3.5-236/debian/changelog dist-3.5-236/debian/changelog
--- dist-3.5-236/debian/changelog
+++ dist-3.5-236/debian/changelog
@@ -1,3 +1,11 @@
+dist (1:3.5-236-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove requirement for root when building dist.
+    (Closes: #1089314)
+
+ -- Niels Thykier <[email protected]>  Sun, 29 Dec 2024 10:42:14 +0000
+
 dist (1:3.5-236-1) unstable; urgency=medium
 
   * New upstream git snapshot
diff -u dist-3.5-236/debian/control dist-3.5-236/debian/control
--- dist-3.5-236/debian/control
+++ dist-3.5-236/debian/control
@@ -4,6 +4,7 @@
 Section: devel
 Priority: optional
 Maintainer: Manoj Srivastava <[email protected]>
+Rules-Requires-Root: no
 Standards-Version: 4.3.0
 Build-Depends: debhelper-compat (=12)
 Build-Depends-Indep: sharutils, po-debconf, gettext
diff -u dist-3.5-236/debian/rules dist-3.5-236/debian/rules
--- dist-3.5-236/debian/rules
+++ dist-3.5-236/debian/rules
@@ -7,10 +7,10 @@
 ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
     INSTALL_PROGRAM += -s
 endif
-install_file   = $(INSTALL) -p    -o root -g root  -m  644
-install_program = $(INSTALL) -p           -o root -g root  -m  755
-install_script = $(INSTALL) -p    -o root -g root  -m  755
-make_directory = $(INSTALL) -p -d -o root -g root  -m  755
+install_file   = $(INSTALL) -p    -m   644
+install_program = $(INSTALL) -p           -m   755
+install_script = $(INSTALL) -p    -m   755
+make_directory = $(INSTALL) -p -d -m   755
 email := [email protected]
 TMPTOP:=$(SRCTOP)/debian/tmp
 DOCDIR=$(SRCTOP)/debian/$(package)/usr/share/doc/$(package)

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to