Package: debdelta
Version: 0.70
Severity: normal
Tags: patch  pending


Dear maintainer,

I've prepared an NMU for debdelta (versioned as 0.70+nmu1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru debdelta-0.70/debian/changelog debdelta-0.70+nmu1/debian/changelog
--- debdelta-0.70/debian/changelog      2024-01-02 08:02:03.000000000 +0000
+++ debdelta-0.70+nmu1/debian/changelog 2025-01-03 05:10:43.000000000 +0000
@@ -1,3 +1,10 @@
+debdelta (0.70+nmu1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Have debdelta build without requiring root.
+
+ -- Niels Thykier <ni...@thykier.net>  Fri, 03 Jan 2025 05:10:43 +0000
+
 debdelta (0.70) unstable; urgency=medium
    * update documentation
diff -Nru debdelta-0.70/debian/control debdelta-0.70+nmu1/debian/control
--- debdelta-0.70/debian/control        2024-01-02 08:02:03.000000000 +0000
+++ debdelta-0.70+nmu1/debian/control   2024-12-28 11:39:19.000000000 +0000
@@ -3,6 +3,7 @@
 Priority: optional
 Build-Depends: zlib1g-dev, libbz2-dev
 Maintainer: A Mennucc1 <mennu...@debian.org>
+Rules-Requires-Root: no
 Standards-Version: 4.6.2
 Homepage: http://debdelta.debian.net
 Vcs-git: https://salsa.debian.org/mennucc1/debdelta.git
diff -Nru debdelta-0.70/debian/rules debdelta-0.70+nmu1/debian/rules
--- debdelta-0.70/debian/rules  2024-01-02 08:02:03.000000000 +0000
+++ debdelta-0.70+nmu1/debian/rules     2024-12-28 11:40:06.000000000 +0000
@@ -53,7 +53,7 @@
        rm -f minigzip minibzip2
        rm -rf $(D) $(D2)
 -binary-indep: checkroot build
+binary-indep:  build
        $(checkdir)
        rm -rf $(D2)
        install -d $(D2)/DEBIAN  $(docdir2)  $(docdir2doc)
@@ -65,15 +65,14 @@
        ln -s ../debdelta-doc/html  $(docdir2)
        # build package
        dpkg-gencontrol -Pdebian/debdelta-doc -pdebdelta-doc
-       chown -R root:root $(D2)
        find debian/debdelta-doc -newermt '$(BUILD_DATE)' -print0 | \
                xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
        # Ensure correct mode for files for reproducible builds
        chmod -c 0755 $(docdir2doc)/html/
        chmod -c 0644 $(docdir2doc)/html/*
-       dpkg-deb --build $(D2) ..
+       dpkg-deb --root-owner-group --build $(D2) ..
 -binary-arch:  checkroot build
+binary-arch:   build
        $(checkdir)
        rm -rf $(D)
        # dirs
@@ -117,12 +116,11 @@
        # build package
dpkg-shlibdeps $(D)/usr/lib/debdelta/minigzip $(D)/usr/lib/debdelta/minibzip2
        dpkg-gencontrol -Pdebian/debdelta -pdebdelta
-       chown -R root:root $(D)
        find debian/debdelta -newermt '$(BUILD_DATE)' -print0 | \
                xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
        # Ensure correct mode for files for reproducible builds
        chmod -c 0644 $(D)/usr/share/debdelta/*.patch
-       dpkg-deb --build $(D) ..
+       dpkg-deb --root-owner-group --build $(D) ..
  define checkdir
        test -f debdelta -a -f debian/rules
@@ -130,8 +128,4 @@
  binary: binary-indep binary-arch
 -checkroot:
-       $(checkdir)
-       test $$(id -u) = 0
-
 .PHONY: binary binary-arch binary-indep clean checkroot

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to