copr-builder: exclude infra mock => allow installing mock 1.4.8 from Fedora

This commit is contained in:
clime 2018-01-08 13:10:47 +01:00
parent 17171a9d0c
commit 3b4fb50161
3 changed files with 2 additions and 10 deletions

View file

@ -4,3 +4,4 @@ baseurl=https://kojipkgs.fedoraproject.org/repos-dist/f$releasever-infra-stg/lat
enabled=1
gpgcheck=1
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
exclude=mock

View file

@ -4,3 +4,4 @@ baseurl=https://kojipkgs.fedoraproject.org/repos-dist/f$releasever-infra/latest/
enabled=1
gpgcheck=1
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS
exclude=mock

View file

@ -19,10 +19,6 @@
- name: set bigger timeout for dnf
ini_file: dest=/etc/dnf/dnf.conf section=main option=timeout value=1000
# hack for 2:mock-1.3.4-2 currently being the latest version in infra repos
- name: ensure absent
dnf: state=absent pkg="mock-core-configs"
- name: install pkgs
dnf: state=present pkg={{ item }}
with_items:
@ -59,12 +55,6 @@
- name: put updated mock configs into /etc/mock
template: src=files/mock/{{ item }} dest=/etc/mock
with_items:
- mageia-cauldron-i586.cfg
- mageia-cauldron-x86_64.cfg
- fedora-26-ppc64le.cfg
- fedora-27-i386.cfg
- fedora-27-ppc64le.cfg
- fedora-27-x86_64.cfg
- site-defaults.cfg
- name: put copr-rpmbuild configuration file in the right place