Compare commits

..

16 Commits
i10e ... epel9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/mock-core-configs-41.5.tar.gz
/mock-core-configs-*.tar.gz

@ -1 +0,0 @@
8031ad54eb10b79a262ce498bb9713b0aeee1133 SOURCES/mock-core-configs-41.5.tar.gz

@ -1,5 +0,0 @@
include('msvsphere-9-x86_64.cfg')
include('templates/epel-9.tpl')
config_opts['root'] = "msvsphere+epel-9-{{ target_arch }}"
config_opts['description'] = 'MSVSphere 9 + EPEL'

@ -1,6 +0,0 @@
include('templates/msvsphere-9.tpl')
config_opts['root'] = 'msvsphere-9-x86_64'
config_opts['description'] = 'MSVSphere 9'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)

@ -1,153 +0,0 @@
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils redhat-release findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
config_opts['dist'] = 'el9.inferit' # only useful for --resultdir variable subst
config_opts['releasever'] = '9'
config_opts['package_manager'] = 'dnf'
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['bootstrap_image'] = 'docker.io/inferit/msvsphere:9'
config_opts['dnf.conf'] = """
[main]
keepcache=1
debuglevel=2
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
metadata_expire=0
mdpolicy=group:primary
best=1
install_weak_deps=0
protected_packages=
module_platform_id=platform:el9
user_agent={{ user_agent }}
[appstream]
name=MSVSphere $releasever - AppStream
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/AppStream/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=1
[appstream-debug]
name=MSVSphere $releasever - AppStream - Debug
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/AppStream/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[appstream-source]
name=MSVSphere $releasever - AppStream - Source
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/appstream-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/AppStream/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[baseos]
name=MSVSphere $releasever - BaseOS
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=1
[baseos-debug]
name=MSVSphere $releasever - BaseOS - Debug
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/BaseOS/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[baseos-source]
name=MSVSphere $releasever - BaseOS - Source
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/baseos-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/BaseOS/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[crb]
name=MSVSphere $releasever - CRB
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/CRB/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=1
[crb-debug]
name=MSVSphere $releasever - CRB - Debug
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/CRB/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[crb-source]
name=MSVSphere $releasever - CRB - Source
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/crb-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/CRB/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[extras]
name=MSVSphere $releasever - Extras
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/Extras/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=1
[extras-debug]
name=MSVSphere $releasever - Extras - Debug
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras-debug
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/Extras/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
[extras-source]
name=MSVSphere $releasever - Extras - Source
mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/extras-source
# baseurl=https://repo.inferitos.ru/msvsphere/$releasever/Extras/Source/
enabled=0
gpgcheck=1
gpgkey=file:///usr/share/distribution-gpg-keys/msvsphere/RPM-GPG-KEY-MSVSphere-9
metadata_expire=86400
enabled_metadata=0
"""

@ -3,8 +3,8 @@
%endif
Name: mock-core-configs
Version: 41.5
Release: 1%{?dist}.inferit
Version: 42.1
Release: 1%{?dist}
Summary: Mock core config files basic chroots
License: GPL-2.0-or-later
@ -15,10 +15,6 @@ URL: https://github.com/rpm-software-management/mock/
# git reset --hard %%{name}-%%{version}
# tito build --tgz
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz
## MSVSphere
Source100: msvsphere-9.tpl
Source101: msvsphere-9-x86_64.cfg
Source102: msvsphere+epel-9-x86_64.cfg
BuildArch: noarch
# The mock.rpm requires this. Other packages may provide this if they tend to
@ -26,7 +22,7 @@ BuildArch: noarch
Provides: mock-configs
# distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.105
Requires: distribution-gpg-keys >= 1.107
# specify minimal compatible version of mock
Requires: mock >= 5.4.post1
Requires: mock-filesystem
@ -42,14 +38,12 @@ Requires(post): sed
%description
Mock configuration files which allow you to create chroots for Alma Linux,
Amazon Linux, CentOS, CentOS Stream, Circle Linux, EuroLinux, Fedora, Fedora EPEL, Mageia,
MSVSphere, Navy Linux, OpenMandriva Lx, openSUSE, Oracle Linux, Red Hat Enterprise Linux,
Navy Linux, OpenMandriva Lx, openSUSE, Oracle Linux, Red Hat Enterprise Linux,
Rocky Linux and various other specific or combined chroots.
%prep
%setup -q
cp %{SOURCE100} etc/mock/templates
cp %{SOURCE101} %{SOURCE102} etc/mock/
%build
@ -137,9 +131,6 @@ cfg=fedora-eln-$mock_arch.cfg
%if 0%{?mageia}
cfg=mageia-$ver-$mock_arch.cfg
%endif
%if 0%{?msvsphere}
cfg=msvsphere-$ver-$mock_arch.cfg
%endif
if [ -e %{_sysconfdir}/mock/$cfg ]; then
if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then
@ -158,8 +149,8 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog
* Fri Dec 20 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 41.5-1.inferit
- Update to 41.5-1
* Thu Jan 16 2025 Pavel Raiskup <praiskup@redhat.com> 42.1-1
- branch fedora-42 configs, move rawhide to releasever=43
* Thu Dec 19 2024 Pavel Raiskup <praiskup@redhat.com> 41.5-1
- Fedora 39 EOL
@ -180,9 +171,6 @@ fi
- configs: replace `powerpc64le` with `ppc64le` in the `%%_host_cpu` macro
- fix EOL template locations for CentOS7/EPEL7 (thomas.mendorf@ebf.com)
* Fri Aug 16 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 41.2-1.inferit
- Update to 41.2-1
* Thu Aug 15 2024 Pavel Raiskup <praiskup@redhat.com> 41.2-1
- fix centos-stream+epel-10-s390x /bin/sed typo
@ -256,9 +244,6 @@ fi
* Wed Aug 09 2023 Pavel Raiskup <praiskup@redhat.com> 39-1
- new upstream release, per https://rpm-software-management.github.io/mock/Release-Notes-5.0
* Thu Jul 06 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 38.6-1
- Rebuilt for MSVSphere 9.2
* Mon Jun 05 2023 Pavel Raiskup <praiskup@redhat.com> 38.6-1
- use python3 macro for post scriptlet (mroche@omenos.dev)
- openEuler: use metalinks instead of baseurls (chenzeng2@huawei.com)

@ -0,0 +1 @@
SHA512 (mock-core-configs-42.1.tar.gz) = f220b8d04f42cc90ad27ac4e2b017c96a2eb22394a34b7021fde596c7dcd87565f04e92d761d929b6fc8c6d87ebea773565bc6aaf0df8d0057e21014e3db94e9
Loading…
Cancel
Save