From d6b30385ec12d88936d2ec7355de65ee59bd5987 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 17 Sep 2014 21:45:27 +0200 Subject: [PATCH] MT#9053 Provide .gitreview file via debian/patches/ Otherwise we're failing with: | dpkg-source -i -I --unapply-patches --before-build source | dpkg-buildpackage: warning: building a source package without cleaning up as you asked; it might contain undesired files | dpkg-source -i -I --unapply-patches -b source | dpkg-source: info: using source format `3.0 (quilt)' | dpkg-source: info: building kibana using existing ./kibana_3.1.0.orig.tar.gz | dpkg-source: info: local changes detected, the modified files are: | source/.gitreview | dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/kibana_3.1.0-1+0~20140917184804.7+wheezy~1.gbp01e89d.diff.4I3dpF | dpkg-source: info: you can integrate the local changes with dpkg-source --commit | dpkg-buildpackage: error: dpkg-source -i -I --unapply-patches -b source gave error exit status 2 Change-Id: I44b9807fb419efccbf693da11af9a27744278768 --- debian/patches/dot_gitreview_file.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/dot_gitreview_file.patch create mode 100644 debian/patches/series diff --git a/debian/patches/dot_gitreview_file.patch b/debian/patches/dot_gitreview_file.patch new file mode 100644 index 0000000..2636745 --- /dev/null +++ b/debian/patches/dot_gitreview_file.patch @@ -0,0 +1,13 @@ +Description: provide .gitreview file in upstream directory +Author: Michael Prokop +--- +Forwarded: not-needed +Last-Update: 2014-09-17 + +--- /dev/null ++++ kibana-3.1.0/.gitreview +@@ -0,0 +1,4 @@ ++[gerrit] ++host=gerrit.mgm.sipwise.com ++port=29418 ++project=kibana diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e838855 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +dot_gitreview_file.patch