Control: tags 1089380 + patch
Control: tags 1089380 + pending


Dear maintainer,

I've prepared an NMU for lrzsz (versioned as 0.12.21rc-0.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru lrzsz-0.12.21rc/debian/changelog lrzsz-0.12.21rc/debian/changelog
--- lrzsz-0.12.21rc/debian/changelog    2024-09-13 06:57:20.000000000 +0000
+++ lrzsz-0.12.21rc/debian/changelog    2025-01-01 12:16:48.000000000 +0000
@@ -1,3 +1,11 @@
+lrzsz (0.12.21rc-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089380)
+
+ -- Niels Thykier <ni...@thykier.net>  Wed, 01 Jan 2025 12:16:48 +0000
+
 lrzsz (0.12.21rc-0.1) unstable; urgency=medium
    * Non-maintainer upload.
diff -Nru lrzsz-0.12.21rc/debian/control lrzsz-0.12.21rc/debian/control
--- lrzsz-0.12.21rc/debian/control      2024-09-13 06:57:20.000000000 +0000
+++ lrzsz-0.12.21rc/debian/control      2025-01-01 12:16:18.000000000 +0000
@@ -2,6 +2,7 @@
 Section: comm
 Priority: optional
 Maintainer: Martin A. Godisch <godi...@debian.org>
+Rules-Requires-Root: no
 Standards-Version: 3.9.5
 Build-Depends: debhelper-compat (= 12), gettext
 Homepage: https://ohse.de/uwe/software/lrzsz.html
diff -Nru lrzsz-0.12.21rc/debian/rules lrzsz-0.12.21rc/debian/rules
--- lrzsz-0.12.21rc/debian/rules        2024-09-13 06:57:20.000000000 +0000
+++ lrzsz-0.12.21rc/debian/rules        2025-01-01 12:16:05.000000000 +0000
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
  testdir  = test -f src/lrz.c && test -f debian/rules
-testroot = test x`whoami` = xroot
  include /usr/share/dpkg/architecture.mk
 @@ -36,7 +35,6 @@
  clean:
        $(testdir)
-       $(testroot)
        [ ! -f Makefile ] || $(MAKE) clean
        dh_autoreconf_clean
        dh_clean
@@ -47,7 +45,6 @@
  binary-arch: build
        $(testdir)
-       $(testroot)
        rm -rf debian/tmp
        $(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
@@ -74,13 +71,12 @@
        install -p -m 0644 debian/control debian/tmp/DEBIAN
cd debian/tmp && find usr -type f -print0 | LC_ALL=C sort -z | xargs -0 md5sum > DEBIAN/md5sums
 -      chown -R root:root debian/tmp
        chmod -R go=u-w debian/tmp
        dpkg-shlibdeps debian/tmp/usr/bin/*
        dpkg-gencontrol -plrzsz
find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
-       dpkg --build debian/tmp ..
+       dpkg-deb --root-owner-group --build debian/tmp ..
  binary-indep:

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to