Petr Pisar wrote on 2023/01/17 18:29:
V Tue, Jan 17, 2023 at 10:11:48AM +0100, Dan Horák napsal(a):
> On Mon, 16 Jan 2023 21:21:39 -0700
> Orion Poplawski <orion(a)nwra.com> wrote:
>
>> How the #$@! do I get fedpkg local to not cleanup the local build
>> directory after a successful build? This is the most annoying change to
>> come around in a long time IMHO.
>
> hmm, it doesn't clean the build directory here (fedpkg-1.43-2.fc36)
>
rpmbuild does that:
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oNsT7U
From rpm-4.18.0-beta1 changelog:
commit 6f945960affc7a2a2b49337458457273d8a4faf5
Author: Panu Matilainen <pmatilai(a)redhat.com>
Date: Wed May 25 15:08:30 2022 +0300
Remove build tree automatically on successfull binary package creation
It think "fedpkg local" needs a new "--noclean" option.
-- Petr
Currently I do "$ fedpkg local -- --noclean" .
$ fedpkg local --help
positional arguments:
extra_args Custom arguments that are passed to the 'rpmbuild'. Use
'--' to separate them from other arguments.
Regards,
Mamoru