buildsys: use fakeroot for dpkg-deb
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 7 Feb 2017 14:48:39 +0000 (15:48 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 7 Feb 2017 14:48:39 +0000 (15:48 +0100)
Makefile

index 56a3039..d185103 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ ${DEB}:
        install -m 0644 debian/changelog.Debian dest/usr/share/doc/${PACKAGE}
        gzip -n --best dest/usr/share/man/*/*
        gzip -n --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
-       dpkg-deb --build dest
+       fakeroot dpkg-deb --build dest
        mv dest.deb ${DEB}
        rm -rf dest
        lintian ${DEB}