buildsys: use fakeroot for dpkg-deb

This commit is contained in:
Fabian Grünbichler 2017-02-13 14:32:25 +01:00
parent 838549fe51
commit 926279b721

View File

@ -28,7 +28,7 @@ ${DEB}:
install -m 0644 copyright dest/usr/share/doc/${PACKAGE}
install -m 0644 changelog.Debian dest/usr/share/doc/${PACKAGE}
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}