Mailinglist Archive: opensuse-factory (742 mails)

< Previous Next >
Re: [opensuse-factory] rpmlint 1.10 env-script-interpreter and build failures of perl scripts
On Tue, 27 Mar 2018, 13:29:43 +0200, Michal Kubecek wrote:
On Tuesday, 27 March 2018 13:16 Manfred Hollstein wrote:
On Tue, 27 Mar 2018, 12:06:29 +0200, Jan Engelhardt wrote:
On Tuesday 2018-03-27 09:13, Tomáš Čech wrote:
Yes. And just to be sure: You would still create a patch file? Or
would you put the find xargs sed chain somewhere in the spec
file?

That is the idea, put it into spec file directly into %prep
section so no patch is needed at all.

And stick to find -exec; there is almost no reason to use xargs.

Since when? "find -exec" spawns a new process for every file it finds,
while xargs collects arguments until "it reaches a system-defined
limit" (usually ARG_MAX).

...which is essentially the same as what "find ... -exec ... +" does.

indeed, thanks for the hint! Twenty years ago GNU find did not exist on
every system... ;)

Michal Kubeček

Cheers.

l8er
manfred
< Previous Next >