diff -Nru kimchi-1.5.0/debian/changelog kimchi-1.5.0/debian/changelog --- kimchi-1.5.0/debian/changelog 2015-09-23 12:25:16.000000000 -0300 +++ kimchi-1.5.0/debian/changelog 2016-09-03 11:01:27.000000000 -0300 @@ -1,3 +1,9 @@ +kimchi (1.5.0-0ubuntu2) UNRELEASED; urgency=medium + + * Fix SystemD service file (Closes: #1534882) + + -- Paulo Vital Sat, 03 Sep 2016 11:00:45 -0300 + kimchi (1.5.0-0ubuntu1) wily; urgency=medium * Initial release (Closes: #772823, LP: #1408071) diff -Nru kimchi-1.5.0/debian/control kimchi-1.5.0/debian/control --- kimchi-1.5.0/debian/control 2015-09-23 12:24:47.000000000 -0300 +++ kimchi-1.5.0/debian/control 2016-09-03 11:00:30.000000000 -0300 @@ -1,7 +1,8 @@ Source: kimchi Section: misc Priority: optional -Maintainer: Frédéric Bonnard +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Paulo Vital Standards-Version: 3.9.6 Build-Depends: debhelper (>= 9), dh-autoreconf, diff -Nru kimchi-1.5.0/debian/patches/1534882_fix kimchi-1.5.0/debian/patches/1534882_fix --- kimchi-1.5.0/debian/patches/1534882_fix 1969-12-31 21:00:00.000000000 -0300 +++ kimchi-1.5.0/debian/patches/1534882_fix 2016-09-03 11:03:50.000000000 -0300 @@ -0,0 +1,56 @@ +Description: Fix SystemD service file. + Ubuntu uses libvirt service as libvirt-bin, not libvirtd. This fixes #1534882 + . + kimchi (1.5.0-0ubuntu2) UNRELEASED; urgency=medium + . + * Fix SystemD service file (Closes: #1534882) +Author: Paulo Vital +Bug-Debian: https://bugs.debian.org/1534882 + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- kimchi-1.5.0.orig/Makefile.am ++++ kimchi-1.5.0/Makefile.am +@@ -1,7 +1,7 @@ + # + # Kimchi + # +-# Copyright IBM Corp, 2013 ++# Copyright IBM Corp, 2013-2016 + # + # This library is free software; you can redistribute it and/or + # modify it under the terms of the GNU Lesser General Public +@@ -117,7 +117,11 @@ ChangeLog: + install-data-local: + @if test -d $(systemdsystemunitdir) ; then \ + mkdir -p $(DESTDIR)/$(systemdsystemunitdir); \ +- $(INSTALL_DATA) contrib/kimchid.service.fedora $(DESTDIR)/$(systemdsystemunitdir)/kimchid.service; \ ++ if test -f /etc/debian_version; then \ ++ $(INSTALL_DATA) contrib/kimchid.service.ubuntu $(DESTDIR)/etc/systemd/system/wokd.service.d/kimchi.conf; \ ++ else \ ++ $(INSTALL_DATA) contrib/kimchid.service.fedora $(DESTDIR)/etc/systemd/system/wokd.service.d/kimchi.conf; \ ++ fi; \ + else \ + mkdir -p $(DESTDIR)/etc/init.d/ \ + $(INSTALL_DATA) contrib/kimchid.sysvinit $(DESTDIR)/etc/init.d/kimchid; \ +--- /dev/null ++++ kimchi-1.5.0/contrib/kimchid.service.ubuntu +@@ -0,0 +1,7 @@ ++[Unit] ++Requires=libvirt-bin.service wokd.service ++After=libvirt-bin.service wokd.service ++ ++[Service] ++Nice=0 ++PrivateTmp=yes diff -Nru kimchi-1.5.0/debian/patches/series kimchi-1.5.0/debian/patches/series --- kimchi-1.5.0/debian/patches/series 2015-09-23 12:24:47.000000000 -0300 +++ kimchi-1.5.0/debian/patches/series 2016-09-03 11:02:06.000000000 -0300 @@ -1,3 +1,4 @@ run-proxy-option change-pam-service-to-kimchi fix-man +1534882_fix