Update mock-core-configs to 28.1-1

epel8
Miroslav Suchý 7 years ago
parent 907960b2ca
commit 1d9d4b9d90

1
.gitignore vendored

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

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

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

Loading…
Cancel
Save