Update mock-core-configs to 28.1-1

This commit is contained in:
Miroslav Suchý 2018-01-22 16:32:34 +01:00
parent 6c5fee3c82
commit 131a57bdae
3 changed files with 16 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/mock-core-configs-27.2.tar.gz
/mock-core-configs-27.3.tar.gz
/mock-core-configs-27.4.tar.gz
/mock-core-configs-28.1.tar.gz

View File

@ -2,7 +2,7 @@
%global mockgid 135
Name: mock-core-configs
Version: 27.4
Version: 28.1
Release: 1%{?dist}
Summary: Mock core config files basic chroots
@ -21,7 +21,7 @@ Requires: distribution-gpg-keys >= 1.15
Requires(pre): shadow-utils
Requires(post): coreutils
%if 0%{?fedora} || 0%{?mageia}
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
# to detect correct default.cfg
Requires(post): python3-dnf
Requires(post): python3-hawkey
@ -29,7 +29,7 @@ Requires(post): system-release
Requires(post): python3
Requires(post): sed
%endif
%if 0%{?rhel}
%if 0%{?rhel} <= 7
# to detect correct default.cfg
Requires(post): python
Requires(post): yum
@ -76,7 +76,7 @@ exit 0
%post
if [ -s /etc/os-release ]; then
# fedora and rhel7
# fedora and rhel7+
if grep -Fiq Rawhide /etc/os-release; then
ver=rawhide
# mageia
@ -91,7 +91,7 @@ else
# something obsure, use buildtime version
ver=%{?rhel}%{?fedora}%{?mageia}
fi
%if 0%{?fedora} || 0%{?mageia}
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
if [ -s /etc/mageia-release ]; then
mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release)
else
@ -119,6 +119,15 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog
* Mon Jan 22 2018 Miroslav Suchý <msuchy@redhat.com> 28.1-1
- bump up version to 28.1
* Mon Jan 22 2018 Miroslav Suchý <msuchy@redhat.com> 27.5-1
- add fedora 28 configs
- remove failovermethod=priority for repos which use dnf
- remove fedora 24 configs
- set skip_if_unavailable=False for all repos
* Mon Oct 09 2017 Miroslav Suchý <msuchy@redhat.com> 27.4-1
- Fix mock & mock-core-config specs to support Mageia (ngompa13@gmail.com)
- Ensure mock-core-configs will select the right default on Mageia

View File

@ -1 +1 @@
SHA512 (mock-core-configs-27.4.tar.gz) = a48dfc3c64fb8f542d19229ff09555cb4ad886d7fc7c32be0f629ef594e016802ef248913afeb8db284c8e55e391e7200f55022a7041afcc14281422175ccdb0
SHA512 (mock-core-configs-28.1.tar.gz) = e0ca6dbbf1f789b3aea733aca89be8dc965b1dabe25abf41990a16b08132cfd222b638be310826155fa4e8bdff75feaa5d2e7eda1dbdfcb48ab218a68420ad4e