[git-buildpackage] [PATCH 3/3] gbp-buildpackage-rpm: superfluous options test

2016-07-10 Thread tzafrir
From: Tzafrir Cohen Remove a superfluous test for options.use_mock: already tested before calling to setup_mock(). Signed-off-by: Tzafrir Cohen --- gbp/scripts/buildpackage_rpm.py | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/gbp/scripts

[git-buildpackage] [PATCH 2/3] buildpackage-rpm: remove --git-mock-options

2016-07-10 Thread tzafrir
From: Tzafrir Cohen --git-mock-options wasn't implemented. Furthermore, it could probably not be implemented properly to pass options that contain spaces. Let's just stick to passing options in the command-line. --- docs/manpages/gbp-buildpackage-rpm.sgml | 12 g

[git-buildpackage] [PATCH 1/3] gbp-buildpackage-rpm: pass commands to mock

2016-07-10 Thread tzafrir
From: Tzafrir Cohen Fix gbp-buildpackage-rpm and the mock builder script to allow passing extra command-line parameters to the mock wrapper build script. Signed-off-by: Tzafrir Cohen --- bin/gbp-builder-mock| 13 - docs/manpages/gbp-buildpackage-rpm.sgml | 1

Re: [git-buildpackage] git-mock [was: Re: Bug#771215: git-buildpackage: please merge support for gbp pq-rpm]

2015-11-16 Thread Tzafrir Cohen
On Mon, Nov 16, 2015 at 09:05:38AM +0100, Guido Günther wrote: > On Tue, Dec 30, 2014 at 11:16:37AM +0100, Tzafrir Cohen wrote: > > On Sun, Dec 28, 2014 at 02:27:51PM +0100, Tzafrir Cohen wrote: > > > On Sun, Dec 28, 2014 at 01:22:27PM +0100, G

[git-buildpackage] [PATCH] Add --git-packaging-exclude to gbp buildpackage-rpm

2016-02-04 Thread Tzafrir Cohen
d not be copies to the packaging directory. Signed-off-by: Tzafrir Cohen --- gbp/config.py| 1 + gbp/scripts/buildpackage_rpm.py | 7 +++ tests/component/rpm/test_buildpackage_rpm.py | 14 ++ 3 files changed, 22 insertions(+) diff --

Re: [git-buildpackage] [PATCH] Add --git-packaging-exclude to gbp buildpackage-rpm

2016-02-07 Thread Tzafrir Cohen
On Thu, Feb 04, 2016 at 07:25:02PM +0100, Guido Günther wrote: > Hi, > On Thu, Feb 04, 2016 at 06:34:31PM +0100, Tzafrir Cohen wrote: > > Add an option to exclude copying some of the files from the source tree > > to the packaging directory (a single regular expression). > >

Re: [git-buildpackage] [PATCH] Add --git-packaging-exclude to gbp buildpackage-rpm

2016-02-17 Thread Tzafrir Cohen
On Thu, Feb 04, 2016 at 07:25:02PM +0100, Guido Günther wrote: > Hi, > On Thu, Feb 04, 2016 at 06:34:31PM +0100, Tzafrir Cohen wrote: > > Add an option to exclude copying some of the files from the source tree > > to the packaging directory (a single regular expression). > >

[git-buildpackage] PATCH: buildpackage-rpm: packaging: no symlink to other dirs [was: Re: [PATCH] Add --git-packaging-exclude to gbp buildpackage-rpm]

2016-03-15 Thread Tzafrir Cohen
On Wed, Feb 17, 2016 at 10:34:19AM +0100, Tzafrir Cohen wrote: > The patch is indeed too agressive, but the problem is that copying all > the top-level files in the tree may fail if one of them is a symlink to > somewhere below in the tree. > > Note that symlink is readable. It&#

[git-buildpackage] [PATCH] gbp-buildpackage-rpm: pass commands to mock

2016-06-30 Thread Tzafrir Cohen
Fix gbp-buildpackage-rpm and the mock builder script to allow passing extra command-line parameters to the mock wrapper build script. Also fixes support for --git-mock-options. However this cannot pass any option that has spaces in it (such as --define). Signed-off-by: Tzafrir Cohen --- bin

Re: [git-buildpackage] [PATCH] gbp-buildpackage-rpm: pass commands to mock

2016-07-09 Thread Tzafrir Cohen
On Thu, Jun 30, 2016 at 11:11:33PM +0200, Guido Günther wrote: > On Thu, Jun 30, 2016 at 10:59:17PM +0200, Tzafrir Cohen wrote: > > Fix gbp-buildpackage-rpm and the mock builder script to allow passing > > extra command-line parameters to the mock wrapper build script. > > &