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

Markus Lehtonen markus.lehtonen at linux.intel.com
Fri Feb 5 07:58:51 CET 2016


Hi,



On 04/02/16 20:25, "git-buildpackage on behalf of Guido Günther" <git-buildpackage-bounces at lists.sigxcpu.org on behalf of agx at sigxcpu.org> 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?
>Markus do you have comments on this or maybe a similar patch in your queue?

I'm also wondering what would be the real use case for this? Why wouldn't you want to use all files from the packaging directory? If there are unneeded unwanted files in the packaging directory the correct thing to do (IMO) is just to remove those files (or move them somewhere else so that they won't be copied).


Thanks,
   Markus



More information about the git-buildpackage mailing list