From 050fa9c3b185394392e8e2134df14bb4c4b3b68a Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 4 Jan 2018 19:48:59 +0100 Subject: [PATCH] Fix file owner in deb package, closes #213 Also, fix a few lintian warnings / errors. --- ci/before_deploy.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/before_deploy.bash b/ci/before_deploy.bash index d51f0878..49593d4d 100755 --- a/ci/before_deploy.bash +++ b/ci/before_deploy.bash @@ -78,6 +78,7 @@ make_deb() { # manpage install -Dm644 "doc/$PROJECT_NAME.1" "$tempdir/usr/share/man/man1/$PROJECT_NAME.1" + gzip --best "$tempdir/usr/share/man/man1/$PROJECT_NAME.1" # readme and license install -Dm644 README.md "$tempdir/usr/share/doc/$PROJECT_NAME/README.md" @@ -96,14 +97,16 @@ Package: $dpkgname Version: $version Section: utils Priority: optional -Maintainer: David Peter +Maintainer: David Peter Architecture: $architecture Provides: $PROJECT_NAME Conflicts: $conflictname Description: Simple, fast and user-friendly alternative to find + While fd does not seek to mirror all of find's powerful functionality, it + provides sensible (opinionated) defaults for 80% of the use cases. EOF - dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb" + fakeroot dpkg-deb --build "$tempdir" "${dpkgname}_${version}_${architecture}.deb" }