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

Tzafrir Cohen tzafrir at cohens.org.il
Sun Feb 7 09:57:20 CET 2016


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).
> > 
> > This can be handy when running gbp buildpackage-rpm from a complete
> > source tree in a non-native mode and and some files in the top-level
> > directory can't or should not be copies to the packaging directory.
> 
> Thanks for the patch! Can you describe the concrete use case a bit so we
> can check if "gbp buildpackage" needs this as well or if we need it at
> all?

Looking at this again, I see that the patch is not needed as I have
failed to notice --git-native. My bad.

I tried to see which versions did not include it, but it seems the
package I was building now works fine with --git-native=auto (the
default).

So I guess this patch is not needed.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend


More information about the git-buildpackage mailing list