Compare commits

..

15 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
"""

@ -4,7 +4,7 @@
Name: mock-core-configs Name: mock-core-configs
Version: 41.5 Version: 41.5
Release: 1%{?dist}.inferit Release: 1%{?dist}
Summary: Mock core config files basic chroots Summary: Mock core config files basic chroots
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -15,10 +15,6 @@ URL: https://github.com/rpm-software-management/mock/
# git reset --hard %%{name}-%%{version} # git reset --hard %%{name}-%%{version}
# tito build --tgz # tito build --tgz
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz 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 BuildArch: noarch
# The mock.rpm requires this. Other packages may provide this if they tend to # The mock.rpm requires this. Other packages may provide this if they tend to
@ -42,14 +38,12 @@ Requires(post): sed
%description %description
Mock configuration files which allow you to create chroots for Alma Linux, Mock configuration files which allow you to create chroots for Alma Linux,
Amazon Linux, CentOS, CentOS Stream, Circle Linux, EuroLinux, Fedora, Fedora EPEL, Mageia, 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. Rocky Linux and various other specific or combined chroots.
%prep %prep
%setup -q %setup -q
cp %{SOURCE100} etc/mock/templates
cp %{SOURCE101} %{SOURCE102} etc/mock/
%build %build
@ -137,9 +131,6 @@ cfg=fedora-eln-$mock_arch.cfg
%if 0%{?mageia} %if 0%{?mageia}
cfg=mageia-$ver-$mock_arch.cfg cfg=mageia-$ver-$mock_arch.cfg
%endif %endif
%if 0%{?msvsphere}
cfg=msvsphere-$ver-$mock_arch.cfg
%endif
if [ -e %{_sysconfdir}/mock/$cfg ]; then if [ -e %{_sysconfdir}/mock/$cfg ]; then
if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then
@ -158,9 +149,6 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog %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 * Thu Dec 19 2024 Pavel Raiskup <praiskup@redhat.com> 41.5-1
- Fedora 39 EOL - Fedora 39 EOL
- fix openSUSE-tumbleweed update failure during the second build (duli4868@gmail.com) - fix openSUSE-tumbleweed update failure during the second build (duli4868@gmail.com)
@ -180,9 +168,6 @@ fi
- configs: replace `powerpc64le` with `ppc64le` in the `%%_host_cpu` macro - configs: replace `powerpc64le` with `ppc64le` in the `%%_host_cpu` macro
- fix EOL template locations for CentOS7/EPEL7 (thomas.mendorf@ebf.com) - 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 * Thu Aug 15 2024 Pavel Raiskup <praiskup@redhat.com> 41.2-1
- fix centos-stream+epel-10-s390x /bin/sed typo - fix centos-stream+epel-10-s390x /bin/sed typo
@ -256,9 +241,6 @@ fi
* Wed Aug 09 2023 Pavel Raiskup <praiskup@redhat.com> 39-1 * 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 - 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 * Mon Jun 05 2023 Pavel Raiskup <praiskup@redhat.com> 38.6-1
- use python3 macro for post scriptlet (mroche@omenos.dev) - use python3 macro for post scriptlet (mroche@omenos.dev)
- openEuler: use metalinks instead of baseurls (chenzeng2@huawei.com) - openEuler: use metalinks instead of baseurls (chenzeng2@huawei.com)

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