From 2348a8c36fea0f2bf8b7f6002cbe9a882f4d9d0e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Dec 06 2019 09:46:06 +0000 Subject: rpmbuild: skip_if_unavailable=1 for non-ACR projects This temporarily works-around the inconsistency in FE/BE implementation related to createrepo. After PR#1146 we handle the createrepo actions correctly WRT directories/chroots, but we still don't reflect auto_createrepo flag. Merges: #1147 --- diff --git a/rpmbuild/mock.cfg.j2 b/rpmbuild/mock.cfg.j2 index eb2f497..046770c 100644 --- a/rpmbuild/mock.cfg.j2 +++ b/rpmbuild/mock.cfg.j2 @@ -32,7 +32,11 @@ name='{{ repo["name"] }}' baseurl={{ repo["baseurl"] }} gpgcheck=0 enabled=1 +{%- if repo['id'] == 'copr_base_devel' %} +skip_if_unavailable=1 +{%- else %} skip_if_unavailable=0 +{%- endif %} metadata_expire=0 cost=1 best=1