None of our jobs create the archives as a side-effect, so
trying to remove them before generating them is pointless.

Signed-off-by: Andrea Bolognani <abolo...@redhat.com>
---
 jobs/autotools.yaml        | 1 -
 jobs/perl-modulebuild.yaml | 1 -
 jobs/python-distutils.yaml | 1 -
 3 files changed, 3 deletions(-)

diff --git a/jobs/autotools.yaml b/jobs/autotools.yaml
index f8a7e87..4e075bd 100644
--- a/jobs/autotools.yaml
+++ b/jobs/autotools.yaml
@@ -168,7 +168,6 @@
           {local_env}
           cd build
           {strip_buildrequires}
-          rm -f *.tar.{archive_format}
           $MAKE dist
           rpmbuild --clean --define "_topdir `pwd`/rpmbuild" -ta 
*.tar.{archive_format}
     publishers:
diff --git a/jobs/perl-modulebuild.yaml b/jobs/perl-modulebuild.yaml
index 8b30d7e..855e6ba 100644
--- a/jobs/perl-modulebuild.yaml
+++ b/jobs/perl-modulebuild.yaml
@@ -122,7 +122,6 @@
           {global_env}
           {local_env}
           {strip_buildrequires}
-          rm -f *.tar.{archive_format}
           perl Build dist
           rpmbuild --clean --define "_topdir `pwd`/rpmbuild" -ta 
*.tar.{archive_format}
     publishers:
diff --git a/jobs/python-distutils.yaml b/jobs/python-distutils.yaml
index eae5b6f..e640434 100644
--- a/jobs/python-distutils.yaml
+++ b/jobs/python-distutils.yaml
@@ -122,7 +122,6 @@
           {global_env}
           {local_env}
           {strip_buildrequires}
-          rm -f dist/*.tar.{{ archive_format }}
           $PYTHON ./setup.py sdist
           rpmbuild --clean --define "_topdir `pwd`/rpmbuild" -ta dist/*.tar.{{ 
archive_format }}
     publishers:
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to