On Thu, 2018-08-09 at 12:02 +0100, Daniel P. Berrangé wrote:
When using 'rpmbuild --rebuild', $RPM-ROOT/BUILD/$PACKAGE is
s/ / /
automatically deleted on completion, but when using 'rpmbuild
--ta' it
s/--ta/-ta/
is not deleted. We need to pass --clean to get the desired
behaviour.
This was not a visible problem in the past because "git clean -fdx"
would purge the directory, but since we use %autosetup now the directory
s/use %autosetup now/use %autosetup for libvirt now/
will contain a git repo which causes "git clean" to skip
deletion:
$ su - jenkins
$ cd libvirt-master
$ git clean -fdx
Skipping repository build/rpmbuild/BUILD/libvirt-4.7.0
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
jobs/autotools.yaml | 2 +-
jobs/perl-modulebuild.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization