Compare commits

..

29 Commits

Author SHA1 Message Date
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
2 changed files with 203 additions and 39 deletions

View File

@ -1,9 +1,9 @@
Name: mock-core-configs
Version: 33.3
Version: 37.8
Release: 1%{?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
@ -18,57 +18,31 @@ BuildArch: noarch
Provides: mock-configs
# distribution-gpg-keys contains GPG keys used by mock configs
Requires: distribution-gpg-keys >= 1.41
Requires: distribution-gpg-keys >= 1.77
# specify minimal compatible version of mock
Requires: mock >= 2.5
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
%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 +58,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 +95,35 @@ 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()))")
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%{?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
@ -144,6 +140,174 @@ fi
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
%changelog
* 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)

View File

@ -1 +1 @@
SHA512 (mock-core-configs-33.3.tar.gz) = ba783cf834fc1066977448287b11b545008de4b72804cf965a6cb76e1f439e99688a2c653068ec6c302845c80b067ffb12c0d77477026207cca28766eba9774e
SHA512 (mock-core-configs-37.8.tar.gz) = c838a7a6a6f63fade1ffe66eeb76438941d83ab4443fa03fc217e203015a6ee3d4d045fb7551fa4b6b130cf553c88e64aa76f5286e0872290f7088e958bbd10c