From 5df340e6e9ae18e1b3792a69da574469759d7619 Mon Sep 17 00:00:00 2001 From: Silvie Chlupova Date: Oct 08 2019 06:10:00 +0000 Subject: rpmbuild: skip_if_unavailable should be 0 by default This requires mock 1.4.20 with the repeated pkg manager actions configured: https://github.com/rpm-software-management/mock/pull/363 otherwise there would be much more serious race condition between a) first build in project and b) initial createrepo run. Fixes: #846 Merges: #1041 --- diff --git a/rpmbuild/mock.cfg.j2 b/rpmbuild/mock.cfg.j2 index a240dbc..4efb180 100644 --- a/rpmbuild/mock.cfg.j2 +++ b/rpmbuild/mock.cfg.j2 @@ -30,7 +30,7 @@ name='{{ repo["name"] }}' baseurl={{ repo["baseurl"] }} gpgcheck=0 enabled=1 -skip_if_unavailable=1 +skip_if_unavailable=0 metadata_expire=0 cost=1 best=1