Update mock-core-configs to 33.4-1

This commit is contained in:
Pavel Raiskup 2021-01-18 16:00:18 +01:00
parent 5dc3e2184a
commit a3fba8ae45
2 changed files with 24 additions and 10 deletions

View File

@ -1,5 +1,5 @@
Name: mock-core-configs Name: mock-core-configs
Version: 33.3 Version: 33.4
Release: 1%{?dist} Release: 1%{?dist}
Summary: Mock core config files basic chroots Summary: Mock core config files basic chroots
@ -53,7 +53,6 @@ Config files which allow you to create chroots for:
%build %build
cd etc/host-overrides
HOST=none HOST=none
%if 0%{?fedora} %if 0%{?fedora}
HOST="fedora-%{fedora}" HOST="fedora-%{fedora}"
@ -62,13 +61,20 @@ HOST="fedora-%{fedora}"
HOST="rhel-%{rhel}" HOST="rhel-%{rhel}"
%endif %endif
if [ -d "$HOST" ]; then # host overrides
pushd "$HOST" case $HOST in
for i in *.cfg; do rhel-7)
cat "$i" >> "../../mock/$i" # RPM on EL7 doesn't link against libzstd, and newer Fedora is compressed
done # using ZSTD. We need to enable bootstrap image here to be able to
popd # initialize the Fedora bootstrap chroot.
fi for config in etc/fedora-*-*.cfg; do
version=$(echo "$config" | cut -d- -f2)
if test $version = rawhide || test $version -ge 31; then
echo "config_opts['use_bootstrap_image'] = True" >> "$config"
fi
done
;;
esac
%install %install
@ -144,6 +150,14 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog %changelog
* Mon Jan 18 2021 Pavel Raiskup <praiskup@redhat.com> 33.4-1
- fix bootstrapping of newer Fedora on EL7
- efine a bootstrap image for openSUSE Tumbleweed (ngompa13@gmail.com)
- use fully qualified paths for Fedora/CentOS/RHEL images (ngompa13@gmail.com)
- rename repoid for centos8 (msuchy@redhat.com)
- EOL CentOS 6 (msuchy@redhat.com)
- EOL Fedora 31 (msuchy@redhat.com)
* Fri Nov 20 2020 Pavel Raiskup <praiskup@redhat.com> 33.3-1 * Fri Nov 20 2020 Pavel Raiskup <praiskup@redhat.com> 33.3-1
- ELN should use for build Everything repository (jkonecny@redhat.com) - ELN should use for build Everything repository (jkonecny@redhat.com)

View File

@ -1 +1 @@
SHA512 (mock-core-configs-33.3.tar.gz) = ba783cf834fc1066977448287b11b545008de4b72804cf965a6cb76e1f439e99688a2c653068ec6c302845c80b067ffb12c0d77477026207cca28766eba9774e SHA512 (mock-core-configs-33.4.tar.gz) = 0bf7355d94c43c7414420be93f9a413b0bb19d5ba3692a1d5e41c7fb6b5aea12573e1a6823d49de1a5b01dc835640fc02de547e65761e841e105a319f5d79cfe