|
|
@ -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
|
|
|
|