Compare commits

...

51 Commits

Author SHA1 Message Date
David Abdurachmanov 1d8dce145d
Fix the patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-04-26 17:00:55 +03:00
David Abdurachmanov 928890a514
Apply the patch
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-04-26 16:39:58 +03:00
David Abdurachmanov 5ca4690e7d
Add configs for riscv64 (only F40 is working)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2024-04-26 11:42:44 +03:00
Jakub Kadlcik 3e82a51478 Update mock-core-configs to 40.3-1 2024-04-09 12:28:39 +02:00
Pavel Raiskup 492c3c61af Update mock-core-configs to 40.2-1 2024-02-16 15:43:24 +01:00
Pavel Raiskup b3279f0f05 Update mock-core-configs to 40.1-1 2024-02-14 17:50:15 +01:00
Fedora Release Engineering 88ac68a63c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 07:42:53 +00:00
Fedora Release Engineering d6b9324e12 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 08:25:38 +00:00
Pavel Raiskup 8ce0af85e0 Update mock-core-configs to 39.4-1 2024-01-11 16:49:26 +01:00
Pavel Raiskup 3880cf15a7 Update mock-core-configs to 39.3-1 2023-12-01 09:25:28 +01:00
Pavel Raiskup 2fd4eee944 Update mock-core-configs to 39.2-1 2023-10-19 10:20:33 +02:00
Pavel Raiskup 7ab9276dc0 Update mock-core-configs to 39.1-1 2023-09-15 13:34:36 +02:00
Pavel Raiskup c3dd5807c7 Update mock-core-configs to 39-1 2023-08-10 10:06:06 +02:00
Fedora Release Engineering 168d5cc40d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 15:32:06 +00:00
Pavel Raiskup f251be5bc5 Update mock-core-configs to 38.6-1 2023-06-05 10:03:00 +02:00
Pavel Raiskup 019adee371 Update mock-core-configs to 38.5-1 2023-05-22 15:20:52 +02:00
Pavel Raiskup 46e65150be Update mock-core-configs to 38.4-1 2023-04-15 21:07:14 +02:00
Pavel Raiskup 12f00bafef Update mock-core-configs to 38.3-1 2023-03-16 08:13:23 +01:00
Pavel Raiskup d2557e68ca Update mock-core-configs to 38.2-1 2023-02-17 07:12:46 +01:00
Pavel Raiskup 5ba7051b67 Update mock-core-configs to 38.1-1 2023-01-31 14:43:53 +01:00
Fedora Release Engineering b2588abaea Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 20:29:06 +00:00
Pavel Raiskup ec5783fdec Update mock-core-configs to 37.9-1 2023-01-05 16:29:15 +01:00
Pavel Raiskup 4426cc94a6 Update mock-core-configs to 37.8-1 2022-09-27 08:21:28 +02:00
Pavel Raiskup 7daac7e669 Update mock-core-configs to 37.7-1 2022-08-10 14:07:18 +02:00
Pavel Raiskup 28ab99a2d4 Update mock-core-configs to 37.6-1 2022-08-10 12:32:58 +02:00
Pavel Raiskup e6342e0f93 Update mock-core-configs to 37.5-1 2022-07-23 09:31:59 +02:00
Fedora Release Engineering d2e22c30ea Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 23:30:10 +00:00
Pavel Raiskup 27f42320c2 Update mock-core-configs to 37.4-1 2022-05-19 13:19:38 +02:00
Pavel Raiskup bead080bbc Update mock-core-configs to 37.3-1 2022-04-07 08:53:47 +02:00
Pavel Raiskup 96cda325a9 Update mock-core-configs to 37.2-1 2022-03-03 08:20:23 +01:00
Pavel Raiskup d159e44c92 Update mock-core-configs to 37.1-1 2022-02-04 08:53:10 +01:00
Pavel Raiskup 66a95cbcbb Update mock-core-configs to 37-1 2022-02-02 14:23:30 +01:00
Fedora Release Engineering b27a0dd39c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 20:11:24 +00:00
Pavel Raiskup 4378e227cc Update mock-core-configs to 36.4-1 2021-12-16 19:01:29 +01:00
Pavel Raiskup 66e6ad56fc Update mock-core-configs to 36.3-1 2021-10-29 08:59:59 +02:00
Pavel Raiskup 2535fd58df Update mock-core-configs to 36.2-1 2021-10-26 16:12:14 +02:00
Pavel Raiskup fb0631f512 Update mock-core-configs to 36.1-1 2021-10-08 13:56:51 +02:00
Miroslav Suchý b3fc5e6f7e Update mock-core-configs to 36-1 2021-09-16 09:21:41 +02:00
Pavel Raiskup 496e4ee6d7 Update mock-core-configs to 35-1 2021-08-16 07:37:45 +02:00
Fedora Release Engineering f01b41e623 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 15:09:51 +00:00
Pavel Raiskup 22b17533ac Update mock-core-configs to 34.6-1 2021-07-19 14:25:39 +02:00
Pavel Raiskup 25741bc4a4 Update mock-core-configs to 34.5-1 2021-07-19 09:13:19 +02:00
Pavel Raiskup a0dee0997c Update mock-core-configs to 34.4-1 2021-06-08 19:12:55 +02:00
Pavel Raiskup 00f4dcfb56 Update mock-core-configs to 34.3-1 2021-04-27 18:33:09 +02:00
Pavel Raiskup 8524d3e368 Update mock-core-configs to 34.2-1 2021-02-22 19:26:50 +01:00
Pavel Raiskup 8ffb5e8b96 Update mock-core-configs to 34.1-1 2021-02-11 09:49:08 +01:00
Pavel Raiskup 364c0ec843 Update mock-core-configs to 34-1 2021-02-08 09:08:07 +01:00
Pavel Raiskup 98585c10dd Update mock-core-configs to 33.6-1 2021-02-02 14:56:15 +01:00
Fedora Release Engineering 83e89612ef - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 20:36:55 +00:00
Pavel Raiskup bc63f1c491 Update mock-core-configs to 33.5-1 2021-01-18 16:19:05 +01:00
Pavel Raiskup a3fba8ae45 Update mock-core-configs to 33.4-1 2021-01-18 16:00:18 +01:00
3 changed files with 434 additions and 42 deletions

View File

@ -1,9 +1,13 @@
%if 0%{?el8}
%global python3 /usr/libexec/platform-python
%endif
Name: mock-core-configs
Version: 33.3
Release: 1%{?dist}
Version: 40.3
Release: 1.2.riscv64%{?dist}
Summary: Mock core config files basic chroots
License: GPLv2+
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/mock/
# Source is created by
# git clone https://github.com/rpm-software-management/mock.git
@ -13,62 +17,39 @@ URL: https://github.com/rpm-software-management/mock/
Source: https://github.com/rpm-software-management/mock/releases/download/%{name}-%{version}-1/%{name}-%{version}.tar.gz
BuildArch: noarch
Patch10: mock-riscv64-configs.patch
# The mock.rpm requires this. Other packages may provide this if they tend to
# replace the mock-core-configs.rpm functionality.
Provides: mock-configs
# distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.41
Requires: distribution-gpg-keys >= 1.98
# specify minimal compatible version of mock
Requires: mock >= 2.5
Requires: mock >= 5.4.post1
Requires: mock-filesystem
Requires(post): coreutils
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
# to detect correct default.cfg
Requires(post): python3-dnf
Requires(post): python3-hawkey
Requires(post): system-release
Requires(post): python3
Requires(post): sed
%endif
Requires(pre): shadow-utils
%if 0%{?rhel} && 0%{?rhel} <= 7
# to detect correct default.cfg
Requires(post): python
Requires(post): yum
Requires(post): /etc/os-release
%endif
%description
Config files which allow you to create chroots for:
* Fedora
* Epel
* Mageia
* Custom chroot
* OpenSuse Tumbleweed and Leap
Mock configuration files which allow you to create chroots for Alma Linux,
Amazon Linux, CentOS, CentOS Stream, EuroLinux, Fedora, Fedora EPEL, Mageia,
Navy Linux, OpenMandriva Lx, openSUSE, Oracle Linux, Red Hat Enterprise Linux,
Rocky Linux and various other specific or combined chroots.
%prep
%setup -q
%patch10 -p1 -b .riscv64
%build
cd etc/host-overrides
HOST=none
%if 0%{?fedora}
HOST="fedora-%{fedora}"
%endif
%if 0%{?rhel}
HOST="rhel-%{rhel}"
%endif
if [ -d "$HOST" ]; then
pushd "$HOST"
for i in *.cfg; do
cat "$i" >> "../../mock/$i"
done
popd
fi
%install
@ -84,7 +65,10 @@ cp -a etc/mock/eol/templates/*.tpl %{buildroot}%{_sysconfdir}/mock/eol/templates
# generate files section with config - there is many of them
echo "%defattr(0644, root, mock)" > %{name}.cfgs
find %{buildroot}%{_sysconfdir}/mock -name "*.cfg" -o -name '*.tpl' \
| grep -v chroot-aliases \
| sed -e "s|^%{buildroot}|%%config(noreplace) |" >> %{name}.cfgs
echo "%%config %{_sysconfdir}/mock/chroot-aliases.cfg" >> %{name}.cfgs
# just for %%ghosting purposes
ln -s fedora-rawhide-x86_64.cfg %{buildroot}%{_sysconfdir}/mock/default.cfg
# bash-completion
@ -118,16 +102,41 @@ else
# something obsure, use buildtime version
ver=%{?rhel}%{?fedora}%{?mageia}
fi
%if 0%{?fedora} || 0%{?mageia} || 0%{?rhel} > 7
if [ -s /etc/mageia-release ]; then
mock_arch=$(sed -n '/^$/!{$ s/.* \(\w*\)$/\1/p}' /etc/mageia-release)
else
mock_arch=$(python3 -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))")
mock_arch=$(%{python3} -c "import dnf.rpm; import hawkey; print(dnf.rpm.basearch(hawkey.detect_arch()))")
fi
%else
mock_arch=$(python -c "import rpmUtils.arch; baseArch = rpmUtils.arch.getBaseArch(); print baseArch")
cfg=unknown-distro
%if 0%{?fedora}
cfg=fedora-$ver-$mock_arch.cfg
%endif
cfg=%{?fedora:fedora}%{?rhel:epel}%{?mageia:mageia}-$ver-${mock_arch}.cfg
%if 0%{?rhel}
# Being installed on RHEL, or a RHEL fork. Detect it.
distro_id=$(. /etc/os-release; echo $ID)
case $distro_id in
centos)
# This package is EL8+, and there's only CentOS Stream now.
distro_id=centos-stream
;;
almalinux)
# AlmaLinux configs look like 'alma+epel'
distro_id=alma
;;
esac
cfg=$distro_id+epel-$ver-$mock_arch.cfg
%endif
%if 0%{?eln}
# overrides rhel value which resolves in fedora+epel-rawhide-$mock_arch.cfg
cfg=fedora-eln-$mock_arch.cfg
%endif
%if 0%{?mageia}
cfg=mageia-$ver-$mock_arch.cfg
%endif
if [ -e %{_sysconfdir}/mock/$cfg ]; then
if [ "$(readlink %{_sysconfdir}/mock/default.cfg)" != "$cfg" ]; then
ln -s $cfg %{_sysconfdir}/mock/default.cfg 2>/dev/null || ln -s -f $cfg %{_sysconfdir}/mock/default.cfg.rpmnew
@ -141,9 +150,259 @@ fi
%files -f %{name}.cfgs
%license COPYING
%doc README
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog
* Fri Apr 26 2024 David Abdurachmanov <davidlt@rivosinc.com> 40.3-1.1.riscv64
- Fix the patch
* Fri Apr 26 2024 David Abdurachmanov <davidlt@rivosinc.com> 40.3-1.1.riscv64
- Apply the patch properly
* Fri Apr 26 2024 David Abdurachmanov <davidlt@rivosinc.com> 40.3-1.0.riscv64
- Add configs for riscv64 (only F40 is working)
* 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
- Fedora 40+ to use DNF5 for building
- Mandriva provides python-* not python3-* packages, use them
- mark ELN bootstrap image as "ready" to speedup bootstrap preparation
* Thu Oct 19 2023 Pavel Raiskup <praiskup@redhat.com> 39.2-1
- Switch ELN to use a native bootstrap container image
- Use the correct openSUSE Backports key for Leap 15.5 (neal@gompa.dev)
- Properly handle /etc/mock/default.cfg on Fedora ELN (sbonazzo@redhat.com)
* Fri Sep 15 2023 Pavel Raiskup <praiskup@redhat.com> 39.1-1
- Add openSUSE Leap 15.5 (neal@gompa.dev)
- Move openSUSE Leap 15.3 to EOL (neal@gompa.dev)
- Mageia 9 branched, Mageia Cauldron retargeted to Mageia 10 (neal@gompa.dev)
* 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
* 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)
* Mon May 22 2023 Pavel Raiskup <praiskup@redhat.com> 38.5-1
- drop includepkgs=devtoolset* from centos-{6,7} (orion@nwra.com)
- Fedora 35 and 36 is EOL
- remove useradd specific changes in configs - it is not needed for Mock 4+
- openSUSE i586 has been moved out of the main repo into a port (f_krull@gmx.de)
* Sat Apr 15 2023 Pavel Raiskup <praiskup@redhat.com> 38.4-1
- Add Amazon Linux 2023 mock configs (trawets@amazon.com)
* Thu Mar 16 2023 Pavel Raiskup <praiskup@redhat.com> 38.3-1
- new URL for CenOS Stream 8 koji (msuchy@redhat.com)
- Make --enablerepo=local work with centos-stream chroots (miro@hroncok.cz)
* Fri Feb 17 2023 Pavel Raiskup <praiskup@redhat.com> 38.2-1
- update gpg keys for Tumbleweed (msuchy@redhat.com)
* Tue Jan 31 2023 Pavel Raiskup <praiskup@redhat.com> 38.1-1
- update openEuler gpg key (pkwarcraft@gmail.com)
- Branch Fedora 38 (miro@hroncok.cz)
- disable fastestmirror on almalinux (jonathan@almalinux.org)
- openEuler 22.03-SP1 released, use the latest repo url (pkwarcraft@gmail.com)
* Thu Jan 05 2023 Pavel Raiskup <praiskup@redhat.com> 37.9-1
- missmatching gpg key and rpms in openEuler 20.03 LTS (pkwarcraft@gmail.com)
- drop unneccessary module docs from configuration files (nkadel@gmail.com)
* Tue Sep 27 2022 Pavel Raiskup <praiskup@redhat.com> 37.8-1
- openEuler 22.03 configs added (yikunkero@gmail.com)
- openEuler 20.03 configs added (yikunkero@gmail.com)
- Oracle Linux 9 configs added (a.samets@gmail.com)
- change license to spdx (msuchy@redhat.com)
- Update to AlmaLinux Quay.io repo (srbala@gmail.com)
- EPEL Koji repo not exposed when we are on EPEL Next (miro@hroncok.cz)
* Wed Aug 10 2022 Pavel Raiskup <praiskup@redhat.com> 37.7-1
- depend on distribution-gpg-keys 1.76 (F38 key)
* Wed Aug 10 2022 Pavel Raiskup <praiskup@redhat.com> 37.6-1
- Branch Fedora 37 configs (miro@hroncok.cz)
- Add anolis-release for Anolis OS 7 and Anolis OS 8 templates (wb-
zh951434@alibaba-inc.com)
* Fri Jul 22 2022 Pavel Raiskup <praiskup@redhat.com> 37.5-1
- configs: add ELN local Koji repo
- config: sync epel-8 and epel-9 templates
- Add Rocky Linux 9 Configuration and Mod RL8 (label@rockylinux.org)
- Update Fedora ELN repo template (sgallagh@redhat.com)
- EuroLinux 9 chroot configs added (git@istiak.com)
- Fedora 34 is EOL
- circlelinux+epel-8 as epel-8 alternative
- Fix dist value for openSUSE Leap 15.4 (ngompa@opensuse.org)
- Add CircleLinux 8 configs (bella@cclinux.org)
- Add openSUSE Leap 15.4 configs (ngompa@opensuse.org)
- Move openSUSE Leap 15.2 to EOL directory (ngompa@opensuse.org)
- Use MirrorCache for openSUSE repositories instead of MirrorBrain (ngompa@opensuse.org)
- Add Anolis OS 7 and Anolis OS 8 templates and configs (wb-zh951434@alibaba-inc.com)
* Thu May 19 2022 Pavel Raiskup <praiskup@redhat.com> 37.4-1
- Add AlmaLinux 9 and AlmaLinux 9 + EPEL configs (neal@gompa.dev)
- Update the AlmaLinux 8 GPG key path (neal@gompa.dev)
- Fix description typo on AlmaLinux 8 for x86_64 (neal@gompa.dev)
- Add RHEL9 templates and configs (carl@george.computer)
* Wed Apr 06 2022 Pavel Raiskup <praiskup@redhat.com> 37.3-1
- updated %%description field
- provide 'epel-9' symlinks for 'fedpkg mockbuild'
- allow n-2 gpg key for Fedora ELN (msuchy@redhat.com)
- added config "description" fields for --list-chroots (msuchy@redhat.com)
* Thu Mar 03 2022 Pavel Raiskup <praiskup@redhat.com> 37.2-1
- Update CentOS Stream 9 Extras repo to use correct key (ngompa@centosproject.org)
- Add AlmaLinux+EPEL 8 for POWER (ppc64le) (ngompa13@gmail.com)
- Add AlmaLinux 8 for POWER (ppc64le) (ngompa13@gmail.com)
- Delete Fedora 37/Rawhide armhfp configs (miro@hroncok.cz)
* Fri Feb 04 2022 Pavel Raiskup <praiskup@redhat.com> 37.1-1
- drop EL7 related %%build hack
- link default.cfg file to the right EL N config file
- Add centos-stream+epel-8 configs
* Wed Feb 02 2022 Pavel Raiskup <praiskup@redhat.com> 37-1
- move CentOS/EPEL 8 configs to eol/
- Fedora 36 branching, Rawhide == Fedora 37 now
- depend on distribution-gpg-keys 1.64
- drop failovermethod=priority from EL8 configs
- Add Extras repo for CentOS Stream 9 (ngompa13@gmail.com)
- remove el7 specific parts from the spec file (msuchy@redhat.com)
* Thu Dec 16 2021 Pavel Raiskup <praiskup@redhat.com> 36.4-1
- add CentOS Stream 9 + EPEL Next 9 (ngompa13@gmail.com)
- add compatibility symlinks for EPEL 7 to centos+epel-7-* (ngompa13@gmail.com)
- EPEL 7 for AArch64 and PPC64 are EOL (ngompa13@gmail.com)
- resolve the multiple "local" repo collision (from multiple templates)
- configure the alternative help for missing 'epel-8-*' configs
- Fedora 33 is EOL
- rhelepel moved to rhel+epel
- EOL the EPEL Playground configs (ngompa13@gmail.com)
- Add rocky+epel confs + Disable devel-debug (tucklesepk@gmail.com)
- Rename epel to centos+epel (ngompa13@gmail.com)
- fix the root name and remove Next from the EPEL 9 configs (ngompa13@gmail.com)
- rename 'epel-next' to 'centos-stream+epel-next' (ngompa13@gmail.com)
- add epel9 repos to epel9 template (carl@george.computer)
- rhbz#2026571 - expand dnf_vars (msuchy@redhat.com)
- oraclelinux+epel configs (carl@george.computer)
- Add AlmaLinux+EPEL configs (ngompa13@gmail.com)
- add navy-8-x86_64 (adil@linux.com)
- use quay.io Almalinux image (gotmax@e.email)
- use fully qualified bootstrap_image name (gotmax@e.email)
- update almalinux-8.tpl bootstrap_image (gotmax@e.email)
- add Koji local repos to CentOS Stream configs (ngompa13@gmail.com)
- reduce packages installed in epel chroots (carl@george.computer)
* Fri Oct 29 2021 Pavel Raiskup <praiskup@redhat.com> 36.3-1
- add EuroLinux 8 aarch64 (alex@euro-linux.com)
- add HA and RS configs to EuroLinux configs (alex@euro-linux.com)
- Add epel9-next configs (carl@george.computer)
* Tue Oct 26 2021 Pavel Raiskup <praiskup@redhat.com> 36.2-1
- bump eln to F36 (praiskup@redhat.com)
* Fri Oct 08 2021 Pavel Raiskup <praiskup@redhat.com> 36.1-1
- Finalize CentOS Stream 9 configuration (ngompa13@gmail.com)
- Update Oraclelinux 7/8 configs and add Oraclelinux EPEL 7/8 configs (darren.archibald@oracle.com)
* Thu Sep 16 2021 Miroslav Suchý <msuchy@redhat.com> 36-1
- config: Align CentOS Stream 9 with the production configuration
(ngompa13@gmail.com)
- config: Disable installing weak dependencies on RHEL rebuilds
(ngompa13@gmail.com)
- config: Disable installing weak dependencies on CentOS Stream
(ngompa13@gmail.com)
- config: Validate GPG signatures for CentOS Stream 9 (ngompa13@gmail.com)
- Add eurolinux-8 x86_64 and i686 buildroots (alex@euro-linux.com)
* Mon Aug 16 2021 Pavel Raiskup <praiskup@redhat.com> 35-1
- config: add Fedora 35 configs
* Mon Jul 19 2021 Pavel Raiskup <praiskup@redhat.com> 34.6-1
- Disable Rocky Linux "Devel" repo by default (ngompa13@gmail.com)
- Fix URL for Rocky Linux repos in commented out "baseurl" lines
(ngompa13@gmail.com)
* Mon Jul 19 2021 Pavel Raiskup <praiskup@redhat.com> 34.5-1
- Add CentOS Stream 9 "preview" files
- Add rocky support to mock (tucklesepk@gmail.com)
- Add AlmaLinux 8 AArch64 target (ngompa13@gmail.com)
- Add AlmaLinux Devel repo as an optional repo for AlmaLinux 8 (ngompa13@gmail.com)
- Fix GPG key path for SLE updates in openSUSE Leap 15.3 (ngompa13@gmail.com)
- Move Requires of shadow-utils from mock-core-configs to mock-filesystem (msuchy@redhat.com)
- Switch CentOS templates to use quay.io images for bootstrap (carl@george.computer)
- Add epel-next-8 configs (carl@george.computer)
* Tue Jun 08 2021 Pavel Raiskup <praiskup@redhat.com> 34.4-1
- Add GPG keys and RPM repositories for openSUSE Leap 15.3 (ngompa13@gmail.com)
- EOL Fedora 32 (msuchy@redhat.com)
- sync centos-stream-8 with centos-stream-repos (msuchy@redhat.com)
* Tue Apr 27 2021 Pavel Raiskup <praiskup@redhat.com> 34.3-1
- Add Oracle Linux 8 (ngompa13@gmail.com)
- Add Oracle Linux 7 (ngompa13@gmail.com)
- Add openSUSE Leap 15.3 (ngompa13@gmail.com)
- openSUSE Leap 15.1 is EOL (ngompa13@gmail.com)
- Add openSUSE Tumbleweed s390x config (ngompa13@gmail.com)
- Add AlmaLinux 8 configs (ngompa13@gmail.com)
- Remove make from default ELN buildroot (miro@hroncok.cz)
* Mon Feb 22 2021 Pavel Raiskup <praiskup@redhat.com> 34.2-1
- configs: use Fedora N-1 gpg keys for ELN (praiskup@redhat.com)
* Thu Feb 11 2021 Pavel Raiskup <praiskup@redhat.com> 34.1-1
- fix rawhide config after branching
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> 34-1
- add fedora 34 configs (msuchy@redhat.com)
- require distribution-gpg-keys with F35 keys (msuchy@redhat.com)
- make F35 symlink to rawhide (msuchy@redhat.com)
- Rename centos-stream centos-stream-8 (orion@nwra.com)
* Tue Feb 02 2021 Pavel Raiskup <praiskup@redhat.com> 33.6-1
- Add Mageia 8 stable release configs (ngompa13@gmail.com)
- Update Mageia Cauldron configuration for Mageia 9 (ngompa13@gmail.com)
- add RHEL 6 x86_64 configuration
* Mon Jan 18 2021 Pavel Raiskup <praiskup@redhat.com> 33.5-1
- fix typo in host-specific config generater
* Mon Jan 18 2021 Pavel Raiskup <praiskup@redhat.com> 33.4-1
- fix bootstrapping of newer Fedora on EL7
- efine a bootstrap image for openSUSE Tumbleweed (ngompa13@gmail.com)
- use fully qualified paths for Fedora/CentOS/RHEL images (ngompa13@gmail.com)
- rename repoid for centos8 (msuchy@redhat.com)
- EOL CentOS 6 (msuchy@redhat.com)
- EOL Fedora 31 (msuchy@redhat.com)
* Fri Nov 20 2020 Pavel Raiskup <praiskup@redhat.com> 33.3-1
- ELN should use for build Everything repository (jkonecny@redhat.com)

133
mock-riscv64-configs.patch Normal file
View File

@ -0,0 +1,133 @@
diff --git a/etc/mock/fedora-38-riscv64.cfg b/etc/mock/fedora-38-riscv64.cfg
new file mode 100644
index 0000000..d939844
--- /dev/null
+++ b/etc/mock/fedora-38-riscv64.cfg
@@ -0,0 +1,5 @@
+config_opts['releasever'] = '38'
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-branched.tpl')
diff --git a/etc/mock/fedora-39-riscv64.cfg b/etc/mock/fedora-39-riscv64.cfg
new file mode 100644
index 0000000..b996fbe
--- /dev/null
+++ b/etc/mock/fedora-39-riscv64.cfg
@@ -0,0 +1,5 @@
+config_opts['releasever'] = '39'
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-branched.tpl')
diff --git a/etc/mock/fedora-40-riscv64.cfg b/etc/mock/fedora-40-riscv64.cfg
new file mode 100644
index 0000000..ae8dac1
--- /dev/null
+++ b/etc/mock/fedora-40-riscv64.cfg
@@ -0,0 +1,74 @@
+config_opts['releasever'] = '40'
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+config_opts['root'] = 'fedora-{{ releasever }}-{{ target_arch }}'
+
+config_opts['description'] = 'Fedora {{ releasever }}'
+# Pull directly from Koji working repositories
+config_opts['koji_direct'] = False
+
+config_opts['chroot_setup_cmd'] = 'install @{% if not koji_direct %}buildsys-{% endif %}build'
+
+config_opts['dist'] = 'fc{{ releasever }}' # only useful for --resultdir variable subst
+config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
+
+# https://fedoraproject.org/wiki/Changes/BuildWithDNF5 for Fedora 40+
+config_opts['package_manager'] = '{% if releasever|int >= 40 %}dnf5{% else %}dnf{% endif %}'
+
+# Disabled, until Fedora 40 (riscv64) container image is generated
+config_opts['use_bootstrap'] = False
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:{{ releasever }}'
+#config_opts['bootstrap_image'] = 'fedora.riscv.rocks:3000/davidlt/fedora:38'
+
+config_opts['dnf.conf'] = """
+[main]
+keepcache=1
+system_cachedir=/var/cache/dnf
+debuglevel=2
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+syslog_ident=mock
+syslog_device=
+install_weak_deps=0
+metadata_expire=0
+best=1
+module_platform_id=platform:f{{ releasever }}
+protected_packages=
+user_agent={{ user_agent }}
+
+# repos
+
+[local]
+name=local
+baseurl=http://fedora.riscv.rocks/repos/f{{ releasever }}-build/latest/$basearch/
+cost=2000
+enabled={{ koji_direct }}
+skip_if_unavailable=False
+
+{% if not koji_direct %}
+[fedora]
+name=fedora
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/
+gpgcheck=0
+skip_if_unavailable=False
+
+[fedora-debuginfo]
+name=fedora-debuginfo
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/$basearch/debug/
+enabled=0
+gpgcheck=0
+skip_if_unavailable=False
+
+[fedora-source]
+name=fedora-source
+baseurl=http://fedora.riscv.rocks/repos-dist/f{{ releasever }}/latest/src/
+gpgcheck=0
+enabled=0
+skip_if_unavailable=False
+{% endif %}
+"""
diff --git a/etc/mock/fedora-41-riscv64.cfg b/etc/mock/fedora-41-riscv64.cfg
new file mode 100644
index 0000000..65beeab
--- /dev/null
+++ b/etc/mock/fedora-41-riscv64.cfg
@@ -0,0 +1,4 @@
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-rawhide.tpl')
diff --git a/etc/mock/fedora-eln-riscv64.cfg b/etc/mock/fedora-eln-riscv64.cfg
new file mode 100644
index 0000000..3cf209c
--- /dev/null
+++ b/etc/mock/fedora-eln-riscv64.cfg
@@ -0,0 +1,5 @@
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-eln.tpl')
+config_opts['description'] = 'Fedora ELN'
diff --git a/etc/mock/fedora-rawhide-riscv64.cfg b/etc/mock/fedora-rawhide-riscv64.cfg
new file mode 100644
index 0000000..65beeab
--- /dev/null
+++ b/etc/mock/fedora-rawhide-riscv64.cfg
@@ -0,0 +1,4 @@
+config_opts['target_arch'] = 'riscv64'
+config_opts['legal_host_arches'] = ('riscv64',)
+
+include('templates/fedora-rawhide.tpl')

View File

@ -1 +1 @@
SHA512 (mock-core-configs-33.3.tar.gz) = ba783cf834fc1066977448287b11b545008de4b72804cf965a6cb76e1f439e99688a2c653068ec6c302845c80b067ffb12c0d77477026207cca28766eba9774e
SHA512 (mock-core-configs-40.3.tar.gz) = 74f85e626be3291b8ad4797c65fed8e8df992640f0a4403378908064e6748dacd6fa2bfbe108d2c8d50ff139a7fcc51d24aa3fdbeec02d38a235c4d789992c06