|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: mock-core-configs
|
|
|
|
|
Version: 33.3
|
|
|
|
|
Version: 33.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Mock core config files basic chroots
|
|
|
|
|
|
|
|
|
@ -53,7 +53,6 @@ Config files which allow you to create chroots for:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
cd etc/host-overrides
|
|
|
|
|
HOST=none
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
HOST="fedora-%{fedora}"
|
|
|
|
@ -62,13 +61,20 @@ HOST="fedora-%{fedora}"
|
|
|
|
|
HOST="rhel-%{rhel}"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
if [ -d "$HOST" ]; then
|
|
|
|
|
pushd "$HOST"
|
|
|
|
|
for i in *.cfg; do
|
|
|
|
|
cat "$i" >> "../../mock/$i"
|
|
|
|
|
done
|
|
|
|
|
popd
|
|
|
|
|
fi
|
|
|
|
|
# host overrides
|
|
|
|
|
case $HOST in
|
|
|
|
|
rhel-7)
|
|
|
|
|
# RPM on EL7 doesn't link against libzstd, and newer Fedora is compressed
|
|
|
|
|
# using ZSTD. We need to enable bootstrap image here to be able to
|
|
|
|
|
# initialize the Fedora bootstrap chroot.
|
|
|
|
|
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
|
|
|
|
@ -144,6 +150,14 @@ fi
|
|
|
|
|
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- ELN should use for build Everything repository (jkonecny@redhat.com)
|
|
|
|
|
|
|
|
|
|