Control: tags 1093334 + patch
Control: tags 1093334 + pending


Dear maintainer,

I've prepared an NMU for gsfonts-other (versioned as 6.0-4.3) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru gsfonts-other-6.0/debian/changelog gsfonts-other-6.0/debian/changelog
--- gsfonts-other-6.0/debian/changelog  2022-12-16 08:26:49.000000000 +0000
+++ gsfonts-other-6.0/debian/changelog  2025-01-17 19:31:48.000000000 +0000
@@ -1,3 +1,11 @@
+gsfonts-other (6.0-4.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1093334)
+
+ -- Niels Thykier <[email protected]>  Fri, 17 Jan 2025 19:31:48 +0000
+
 gsfonts-other (6.0-4.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gsfonts-other-6.0/debian/control gsfonts-other-6.0/debian/control
--- gsfonts-other-6.0/debian/control    2022-12-16 08:26:49.000000000 +0000
+++ gsfonts-other-6.0/debian/control    2025-01-17 19:31:48.000000000 +0000
@@ -2,6 +2,7 @@
 Section: non-free/text
 Priority: optional
 Maintainer: Torsten Landschoff <[email protected]>
+Rules-Requires-Root: no
 Standards-Version: 3.9.2
 
 Package: gsfonts-other
diff -Nru gsfonts-other-6.0/debian/rules gsfonts-other-6.0/debian/rules
--- gsfonts-other-6.0/debian/rules      2022-12-16 08:26:49.000000000 +0000
+++ gsfonts-other-6.0/debian/rules      2025-01-17 19:31:48.000000000 +0000
@@ -24,34 +24,33 @@
 build-arch:
 build-indep:
 
-clean:         checkroot
+clean:
        $(checkdir)
        -rm -f build
        -rm -rf debian/tmp
        -rm -f *~ debian/*~
        -rm -f debian/files* debian/substvars
 
-binary-indep:  checkroot build
+binary-indep: build
        $(checkdir)
        -rm -rf debian/tmp 
-       install -d -o root -g root -m 0755 debian/tmp debian/tmp/DEBIAN
-       install -d -o root -g root -m 0755 
debian/tmp/usr/share/fonts/type1/gsfonts-other 
-       install -d -o root -g root -m 0755 \
+       install -d -m 0755 debian/tmp debian/tmp/DEBIAN
+       install -d -m 0755 debian/tmp/usr/share/fonts/type1/gsfonts-other 
+       install -d -m 0755 \
          debian/tmp/usr/share/doc/gsfonts-other
-       install -o root -g root -m 0755 debian/postinst debian/postrm \
+       install -m 0755 debian/postinst debian/postrm \
          debian/tmp/DEBIAN
-       install -o root -g root -m 0644 \
+       install -m 0644 \
          *.pfa *.gsf *.afm debian/tmp/usr/share/fonts/type1/gsfonts-other
-       install -o root -g root -m 0644 \
+       install -m 0644 \
          debian/changelog \
          debian/tmp/usr/share/doc/gsfonts-other/changelog.Debian
-       gzip -9v debian/tmp/usr/share/doc/gsfonts-other/* 
-       install -o root -g root -m 0644 \
+       gzip -9v debian/tmp/usr/share/doc/gsfonts-other/*
+       install -m 0644 \
          debian/copyright debian/tmp/usr/share/doc/gsfonts-other/copyright
        dpkg-gencontrol -isp
-       chown -R root.root debian/tmp
        chmod -R g-ws debian/tmp
-       dpkg --build debian/tmp ..
+       dpkg-deb --root-owner-group --build debian/tmp ..
 
 binary-arch:
 
@@ -70,8 +69,5 @@
 source diff:
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
-checkroot:
-       $(checkdir)
-       test root = "`whoami`"
 
-.PHONY: binary binary-arch binary-indep clean checkroot
+.PHONY: binary binary-arch binary-indep clean

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to