Control: tags 1089327 + patch
Control: tags 1089327 + pending


Dear maintainer,

I've prepared an NMU for fortunes-bg (versioned as 1.4+nmu2) and
uploaded it to DELAYED/15. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru fortunes-bg-1.4+nmu1/changelog fortunes-bg-1.4+nmu2/changelog
--- fortunes-bg-1.4+nmu1/changelog      2024-03-25 19:02:15.000000000 +0000
+++ fortunes-bg-1.4+nmu2/changelog      2024-12-30 21:50:19.000000000 +0000
@@ -1,3 +1,11 @@
+fortunes-bg (1.4+nmu2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089327)
+
+ -- Niels Thykier <ni...@thykier.net>  Mon, 30 Dec 2024 21:50:19 +0000
+
 fortunes-bg (1.4+nmu1) unstable; urgency=medium
    * Non-maintainer upload.
diff -Nru fortunes-bg-1.4+nmu1/control fortunes-bg-1.4+nmu2/control
--- fortunes-bg-1.4+nmu1/control        2021-12-27 15:07:15.000000000 +0000
+++ fortunes-bg-1.4+nmu2/control        2024-12-30 21:49:44.000000000 +0000
@@ -2,6 +2,7 @@
 Maintainer: Anton Zinoviev <zinov...@debian.org>
 Section: games
 Priority: optional
+Rules-Requires-Root: no
 Standards-Version: 4.5.0
 Build-Depends-Indep: fortune-mod (>= 9708-36)
 diff -Nru fortunes-bg-1.4+nmu1/Makefile fortunes-bg-1.4+nmu2/Makefile
--- fortunes-bg-1.4+nmu1/Makefile       2021-12-27 15:07:15.000000000 +0000
+++ fortunes-bg-1.4+nmu2/Makefile       2024-12-30 21:49:07.000000000 +0000
@@ -37,7 +37,7 @@
        -rm -rf *~ tmp files* substvars
        -rm -f *.dat *.u8
 -binary-indep: checkroot build-indep
+binary-indep:  build-indep
        $(checkdir)
        -rm -rf tmp
        install -d tmp/DEBIAN
@@ -48,13 +48,12 @@
        install -d tmp/usr/share/games/fortunes/bg/
        cp -d $(source) $(compiled) $(u8) tmp/usr/share/games/fortunes/bg/
        dpkg-gencontrol -isp
-       chown -R root.root tmp
        chmod -R go=rX,u=rwX tmp
        find debian/tmp -newermt '$(BUILD_DATE)' -print0 | \
                xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
-       dpkg --build tmp ..
+       dpkg-deb --root-owner-group --build tmp ..
 -binary-arch:  checkroot build-arch
+binary-arch:   build-arch
  define checkdir
        test -f bgauthors -a -f debian/rules
@@ -62,10 +61,7 @@
  binary: binary-indep binary-arch
 -checkroot:
-       $(checkdir)
-       test root = "`whoami`"
  .PHONY: build-arch build-indep build \
        binary binary-arch binary-indep \
-       clean checkroot
+       clean
diff -Nru fortunes-bg-1.4+nmu1/rules fortunes-bg-1.4+nmu2/rules
--- fortunes-bg-1.4+nmu1/rules  2021-12-27 15:07:15.000000000 +0000
+++ fortunes-bg-1.4+nmu2/rules  2024-12-30 21:49:07.000000000 +0000
@@ -37,7 +37,7 @@
        -rm -rf *~ tmp files* substvars
        -rm -f *.dat *.u8
 -binary-indep: checkroot build-indep
+binary-indep:  build-indep
        $(checkdir)
        -rm -rf tmp
        install -d tmp/DEBIAN
@@ -48,13 +48,12 @@
        install -d tmp/usr/share/games/fortunes/bg/
        cp -d $(source) $(compiled) $(u8) tmp/usr/share/games/fortunes/bg/
        dpkg-gencontrol -isp
-       chown -R root.root tmp
        chmod -R go=rX,u=rwX tmp
        find debian/tmp -newermt '$(BUILD_DATE)' -print0 | \
                xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
-       dpkg --build tmp ..
+       dpkg-deb --root-owner-group --build tmp ..
 -binary-arch:  checkroot build-arch
+binary-arch:   build-arch
  define checkdir
        test -f bgauthors -a -f debian/rules
@@ -62,10 +61,7 @@
  binary: binary-indep binary-arch
 -checkroot:
-       $(checkdir)
-       test root = "`whoami`"
  .PHONY: build-arch build-indep build \
        binary binary-arch binary-indep \
-       clean checkroot
+       clean

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to