Package: git-cola
Version: 3.0-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Hi Laszlo,

git-cola was failing to build in Ubuntu, because debian/rules removes the
upstream changelog from /usr/share/doc/git-cola as part of the build
process, but Ubuntu already has code in its autobuilders to exclude upstream
changelogs from packages on an archive-wide basis.  A simple one-line change
to use 'rm -rf' instead of 'rm -r' fixes this to ignore the case of a
missing file.

Would you consider applying this patch in Debian?

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru git-cola-3.0/debian/rules git-cola-3.0/debian/rules
--- git-cola-3.0/debian/rules   2017-11-26 09:39:34.000000000 -0800
+++ git-cola-3.0/debian/rules   2017-11-30 11:13:54.000000000 -0800
@@ -49,7 +49,7 @@
        dh_testdir
        dh_testroot
        dh_installchangelogs 
-       rm -r $(PKGDIR)/usr/share/doc/git-cola/changelog \
+       rm -rf $(PKGDIR)/usr/share/doc/git-cola/changelog \
                $(PKGDIR)/usr/share/doc/git-cola/html/sources/
        dh_installdocs
        dh_installexamples

Reply via email to