Compare commits

..

30 Commits
epel9 ... i10e

Author SHA1 Message Date
Sergey Cherevko 5d8d4bb95a
Merge branch 'i9ce' with version 41.5-1 into i9e
4 weeks ago
MSVSphere Packaging Team b64b9d185c
import mock-core-configs-41.5-1.el9
4 weeks ago
MSVSphere Packaging Team ae0898a5fe
import mock-core-configs-41.4-1.el9
4 months ago
MSVSphere Packaging Team e3fc2049d4
import mock-core-configs-41.4-1.el9
4 months ago
Sergey Cherevko a6ad5c96c5
Merge branch 'i9ce' with version 41.3-1 into 'i9e'
4 months ago
MSVSphere Packaging Team b2d3f8c24b
import mock-core-configs-41.3-1.el9
4 months ago
Sergey Cherevko 036a73ed73
Merge branch 'i9ce' with version 41.2-1 into 'i9e'
5 months ago
MSVSphere Packaging Team 1943119deb import mock-core-configs-41.2-1.el9
5 months ago
Sergey Cherevko ae34f4e36f
Merge branch 'i9ce' with version 40.6-1. into 'i9e'
7 months ago
MSVSphere Packaging Team 8f14f862e2 import mock-core-configs-40.6-1.el9
7 months ago
Sergey Cherevko 308c92464e
Merge branch 'i9ce' with version '40.5-1' into i9e
7 months ago
MSVSphere Packaging Team 8a97775c0d import mock-core-configs-40.5-1.el9
7 months ago
MSVSphere Packaging Team 18d01fdc6f
import mock-core-configs-40.4-1.el9
8 months ago
MSVSphere Packaging Team 8307431061 import mock-core-configs-40.4-1.el9
8 months ago
MSVSphere Packaging Team a01a59d519
import mock-core-configs-40.3-1.el9
9 months ago
MSVSphere Packaging Team 66bec2baae import mock-core-configs-40.3-1.el9
9 months ago
MSVSphere Packaging Team fded2415a3
import mock-core-configs-40.2-1.el9
11 months ago
MSVSphere Packaging Team 55647393ad import mock-core-configs-40.2-1.el9
11 months ago
MSVSphere Packaging Team a2aecebcba
Update to 40.1
11 months ago
MSVSphere Packaging Team 7b0c57fce5 import mock-core-configs-40.1-1.el9
11 months ago
MSVSphere Packaging Team abdd5cb152
import mock-core-configs-39.4-1.el9
1 year ago
MSVSphere Packaging Team 0ec20bfac2 import mock-core-configs-39.4-1.el9
1 year ago
Sergey Cherevko 1fcc6e14c4
Clarified tag for bootstrap image
1 year ago
Sergey Cherevko 1a1f4ab608
Updated version to 39.3-1
1 year ago
MSVSphere Packaging Team ae562cec89 Merge and update to 39.3-1
1 year ago
MSVSphere Packaging Team 0f17b7aa64 Change files format
1 year ago
MSVSphere Packaging Team 4fbd8df339 Merge and update to 39.2-1
1 year ago
MSVSphere Packaging Team c62c412c55 Remove unnecessary files
1 year ago
Sergey Cherevko 08e0dd131d
Add MSVSphere and MSVSphere+EPEL mock configs
2 years ago
Sergey Cherevko 38a5842d30
import mock-core-configs-38.6-1.el9
2 years ago

2
.gitignore vendored

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

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

@ -0,0 +1,5 @@
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'

@ -0,0 +1,6 @@
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',)

@ -0,0 +1,153 @@
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
"""

@ -4,7 +4,7 @@
Name: mock-core-configs
Version: 41.5
Release: 1%{?dist}
Release: 1%{?dist}.inferit
Summary: Mock core config files basic chroots
License: GPL-2.0-or-later
@ -15,6 +15,10 @@ 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
@ -38,12 +42,14 @@ 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,
Navy Linux, OpenMandriva Lx, openSUSE, Oracle Linux, Red Hat Enterprise Linux,
MSVSphere, 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
@ -131,6 +137,9 @@ 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
@ -149,6 +158,9 @@ 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 Dec 19 2024 Pavel Raiskup <praiskup@redhat.com> 41.5-1
- Fedora 39 EOL
- fix openSUSE-tumbleweed update failure during the second build (duli4868@gmail.com)
@ -168,6 +180,9 @@ 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
@ -241,6 +256,9 @@ 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)

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