Compare commits

...

27 Commits
epel9 ... i9e

Author SHA1 Message Date
MSVSphere Packaging Team ae0898a5fe
import mock-core-configs-41.4-1.el9
1 month ago
Sergey Cherevko a6ad5c96c5
Merge branch 'i9ce' with version 41.3-1 into 'i9e'
2 months ago
MSVSphere Packaging Team b2d3f8c24b
import mock-core-configs-41.3-1.el9
2 months ago
Sergey Cherevko 036a73ed73
Merge branch 'i9ce' with version 41.2-1 into 'i9e'
3 months ago
MSVSphere Packaging Team 1943119deb import mock-core-configs-41.2-1.el9
3 months ago
Sergey Cherevko ae34f4e36f
Merge branch 'i9ce' with version 40.6-1. into 'i9e'
5 months ago
MSVSphere Packaging Team 8f14f862e2 import mock-core-configs-40.6-1.el9
5 months ago
Sergey Cherevko 308c92464e
Merge branch 'i9ce' with version '40.5-1' into i9e
5 months ago
MSVSphere Packaging Team 8a97775c0d import mock-core-configs-40.5-1.el9
5 months ago
MSVSphere Packaging Team 18d01fdc6f
import mock-core-configs-40.4-1.el9
6 months ago
MSVSphere Packaging Team 8307431061 import mock-core-configs-40.4-1.el9
6 months ago
MSVSphere Packaging Team a01a59d519
import mock-core-configs-40.3-1.el9
7 months ago
MSVSphere Packaging Team 66bec2baae import mock-core-configs-40.3-1.el9
7 months ago
MSVSphere Packaging Team fded2415a3
import mock-core-configs-40.2-1.el9
9 months ago
MSVSphere Packaging Team 55647393ad import mock-core-configs-40.2-1.el9
9 months ago
MSVSphere Packaging Team a2aecebcba
Update to 40.1
9 months ago
MSVSphere Packaging Team 7b0c57fce5 import mock-core-configs-40.1-1.el9
9 months ago
MSVSphere Packaging Team abdd5cb152
import mock-core-configs-39.4-1.el9
10 months ago
MSVSphere Packaging Team 0ec20bfac2 import mock-core-configs-39.4-1.el9
10 months ago
Sergey Cherevko 1fcc6e14c4
Clarified tag for bootstrap image
11 months ago
Sergey Cherevko 1a1f4ab608
Updated version to 39.3-1
11 months ago
MSVSphere Packaging Team ae562cec89 Merge and update to 39.3-1
11 months ago
MSVSphere Packaging Team 0f17b7aa64 Change files format
11 months 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
1 year ago
Sergey Cherevko 38a5842d30
import mock-core-configs-38.6-1.el9
1 year ago

2
.gitignore vendored

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

@ -0,0 +1 @@
e7dab1e66763bb319b1586e6ddf4775e62f977e1 SOURCES/mock-core-configs-41.4.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
"""

@ -3,8 +3,8 @@
%endif %endif
Name: mock-core-configs Name: mock-core-configs
Version: 39.3 Version: 41.4
Release: 1%{?dist} Release: 1%{?dist}.inferit
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,6 +15,10 @@ 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
@ -22,9 +26,9 @@ BuildArch: noarch
Provides: mock-configs 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.98 Requires: distribution-gpg-keys >= 1.105
# specify minimal compatible version of mock # specify minimal compatible version of mock
Requires: mock >= 5.0 Requires: mock >= 5.4.post1
Requires: mock-filesystem Requires: mock-filesystem
Requires(post): coreutils Requires(post): coreutils
@ -37,21 +41,21 @@ 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, EuroLinux, Fedora, Fedora EPEL, Mageia, 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. 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
%install %install
mkdir -p %{buildroot}%{_sysusersdir}
mkdir -p %{buildroot}%{_sysconfdir}/mock/eol/templates mkdir -p %{buildroot}%{_sysconfdir}/mock/eol/templates
mkdir -p %{buildroot}%{_sysconfdir}/mock/templates mkdir -p %{buildroot}%{_sysconfdir}/mock/templates
cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock cp -a etc/mock/*.cfg %{buildroot}%{_sysconfdir}/mock
@ -133,6 +137,9 @@ 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
@ -147,9 +154,85 @@ fi
%files -f %{name}.cfgs %files -f %{name}.cfgs
%license COPYING %license COPYING
%doc README
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg %ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog %changelog
* Mon Sep 30 2024 Pavel Raiskup <praiskup@redhat.com> 41.4-1
- update ELN repos (yselkowi@redhat.com)
* Thu Sep 26 2024 Pavel Raiskup <praiskup@redhat.com> 41.3-1
- move anolis-7 to eol directory (msuchy@redhat.com)
- move opensuse-leap-15.4 to eol directory (msuchy@redhat.com)
- configs: the stream9 image is "ready" for Mock bootstrap
- enable bootstrap container for CentOS Stream 10 (carlwgeorge@gmail.com)
- 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
* Wed Aug 14 2024 Pavel Raiskup <praiskup@redhat.com> 41.1-1
- branch F41 from Rawhide (frostyx@email.cz)
- added centos-stream+epel-10 configs
- Enable RPM sysusers integration (j1.kyjovsky@gmail.com)
- Rawhide to accept GPG key from future Fedora Rawhide+1
- openEuler 24.03 LTS (nucleo@fedoraproject.org)
- drop fedora-eln-i386 (yselkowi@redhat.com)
- Switch CentOS 7 to vault.centos.org (robert@fedoraproject.org)
- Fix GPG keys for CentOS Stream 10 repositories (daan.j.demeyer@gmail.com)
- EOL epel-7 configuration
- CentOS 7 is EOL
- Fedora 41+ configuration images are "dnf5 ready"
- Use metalinks for c10s {baseos,appstream,crb}-{source,debuginfo} (miro@hroncok.cz)
* Tue Jun 18 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 40.6-1.inferit
- Update to 40.6-1
* Sat Jun 15 2024 Pavel Raiskup <praiskup@redhat.com> 40.6-1
- c10s config use mirrored metalinks
* Thu Jun 06 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 40.5-1.inferit
- Rebuilt for MSVSphere 9.4
* Wed Jun 05 2024 Miroslav Suchý <msuchy@redhat.com> 40.5-1
- CentOS Stream 8 is EOL (andykimpe@gmail.com)
- configs: Fedora 38 goes EOL (praiskup@redhat.com)
* Tue May 14 2024 Jakub Kadlcik <frostyx@email.cz> 40.4-1
- configs: BuildWithDNF5 for ELN (praiskup@redhat.com)
- Add Circle Linux 9 configs (bella@cclinux.org)
- configs: Replace Mageia 10 and Cauldron i586 configs with i686
(wally@mageia.org)
- Post-release administrivia (frostyx@email.cz)
* Fri Apr 05 2024 Jakub Kadlcik <frostyx@email.cz> 40.3-1
- Add initial c10s mock configs (Koji BUILDROOT only) (miro@hroncok.cz)
- configs: use repo_arch, not target_arch with openSUSE (praiskup@redhat.com)
- configs: Drop modular repositories from Fedora Branched
(ngompa@fedoraproject.org)
- configs: Drop modular repositories from Fedora Rawhide
(ngompa@fedoraproject.org)
- Configs 40.2 release notes && post-release administrivia
(praiskup@redhat.com)
* Fri Feb 16 2024 Pavel Raiskup <praiskup@redhat.com> 40.2-1
- Use dnf5 on Fedora 40+ (miro@hroncok.cz)
* Wed Feb 14 2024 Pavel Raiskup <praiskup@redhat.com> 40.1-1
- new '{{ repo_arch }}' template variable used for Mageia
- Mageia 7 is EOL (wally@mageia.org)
- OpenMandriva i686 is EOL (frostyx@email.cz)
- Fedora 40 branched
* Thu Jan 11 2024 Pavel Raiskup <praiskup@redhat.com> 39.4-1
- configure system_cachedir for dnf5
- configs: EOL Fedora 37
- config: add README.md with maintainers and issue trackers (frostyx@email.cz)
* Fri Dec 01 2023 Pavel Raiskup <praiskup@redhat.com> 39.3-1 * Fri Dec 01 2023 Pavel Raiskup <praiskup@redhat.com> 39.3-1
- Fedora 40+ to use DNF5 for building - Fedora 40+ to use DNF5 for building
- Mandriva provides python-* not python3-* packages, use them - Mandriva provides python-* not python3-* packages, use them
@ -168,6 +251,9 @@ 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)

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