Update mock-core-configs to 33-1

epel8
Pavel Raiskup 4 years ago
parent 744245637c
commit 02655426c7

@ -1,8 +1,5 @@
# mock group id allocate for Fedora
%global mockgid 135
Name: mock-core-configs Name: mock-core-configs
Version: 32.7 Version: 33
Release: 1%{?dist} Release: 1%{?dist}
Summary: Mock core config files basic chroots Summary: Mock core config files basic chroots
@ -23,7 +20,8 @@ Provides: mock-configs
# distribution-gpg-keys contains GPG keys used by mock configs # distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.41 Requires: distribution-gpg-keys >= 1.41
# specify minimal compatible version of mock # specify minimal compatible version of mock
Requires: mock >= 2.2 Requires: mock >= 2.5
Requires: mock-filesystem
Requires(post): coreutils Requires(post): coreutils
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
@ -103,11 +101,6 @@ mock_docs=${mock_docs//mock-core-configs/mock}
mock_docs=${mock_docs//-%version/-*} mock_docs=${mock_docs//-%version/-*}
sed -i "s~@MOCK_DOCS@~$mock_docs~" %{buildroot}%{_sysconfdir}/mock/site-defaults.cfg sed -i "s~@MOCK_DOCS@~$mock_docs~" %{buildroot}%{_sysconfdir}/mock/site-defaults.cfg
%pre
# check for existence of mock group, create it if not found
getent group mock > /dev/null || groupadd -f -g %mockgid -r mock
exit 0
%post %post
if [ -s /etc/os-release ]; then if [ -s /etc/os-release ]; then
# fedora and rhel7+ # fedora and rhel7+
@ -148,12 +141,18 @@ fi
%files -f %{name}.cfgs %files -f %{name}.cfgs
%license COPYING %license COPYING
%dir %{_sysconfdir}/mock
%dir %{_sysconfdir}/mock/eol
%dir %{_sysconfdir}/mock/templates
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog %changelog
* Thu Sep 03 2020 Pavel Raiskup <praiskup@redhat.com> 33-1
- bump version to 33, as we already ship F33 configs
- because of the mock-filesystem change, depend on mock 2.5
* Thu Sep 03 2020 Pavel Raiskup <praiskup@redhat.com> 32.8-1
- set the DNF user_agent in dnf.conf (msuchy@redhat.com)
- add Fedora ELN configs
- introduce mock-filesystem subpackage (msuchy@redhat.com)
* Thu Aug 06 2020 Pavel Raiskup <praiskup@redhat.com> 32.7-1 * Thu Aug 06 2020 Pavel Raiskup <praiskup@redhat.com> 32.7-1
- add branched Fedora 33 configs - add branched Fedora 33 configs
- eol Fedora 30 - eol Fedora 30

@ -1 +1 @@
SHA512 (mock-core-configs-32.7.tar.gz) = 4c3a70d9b2c8c2250e5a4ae4f71378813b5727224fe83fd08bac3a910d5ee03265ea2a7ffb45fa8d395988789c656a0578dc89d2de7abded258e92f5dbbeef0c SHA512 (mock-core-configs-33.tar.gz) = a5f91115045883db321ac32e05b0d5d391adf17452ab6136105c79c3eec11136366c7ecac5b29cbe51ee9683662c744d6116ffbfdb3aebf3b3493bf0f7807263

Loading…
Cancel
Save