Miro Hrončok
e4aa6401af
CI: There is no EPEL 10 Next, use plain EPEL mock chroots on RHEL 10+
...
(cherry picked from commit 6f1ac1b126
)
2024-11-14 17:18:03 +01:00
Miro Hrončok
8763e77d15
CI: Regardless of the package manager, use dnf.conf in mock config
...
After https://github.com/rpm-software-management/mock/pull/1332
We saw:
ERROR: Config error: /tmp/fedora-39-x86_64-ci.cfg: '{% if releasever|int >= 40 %}dnf5{% else %}dnf{% endif %}.conf'
We cannot use the templated value of package_manager in a key.
The rawhide mock config uses dnf.conf anyway, despite using dnf5.
Reported to mock in https://github.com/rpm-software-management/mock/issues/1357
(cherry picked from commit fa7c91c65d
)
2024-11-14 17:15:33 +01:00
Miro Hrončok
2f641d6866
Revert "CI: Use DNF 4 in mock to workaround dnf5#1084"
...
This reverts commit 1d00ed8155
.
https://github.com/rpm-software-management/dnf5/issues/1084 is fixed
(cherry picked from commit 3667fcd240
)
2024-11-14 17:15:29 +01:00
Miro Hrončok
29eb590e45
Namespace pyproject-rpm-macros generated text files with %{python3_pkgversion}
2024-01-26 11:36:24 +01:00
Miro Hrončok
d62ed44b6e
CI: Use DNF 4 in mock to workaround dnf5#1084
...
mock-core-configs-39.3 switched the package manager for Fedora 40 to dnf5
https://fedoraproject.org/wiki/Changes/BuildWithDNF5
dnf5 builddep cannot handle BuildRequires with square brackets,
e.g. with Python extras, leading to errors like:
No match for argument: python3dist(setuptools-scm[toml]) >= 5
No match for argument: python3dist(raven[flask])
No match for argument: python3dist(ini2toml[lite]) >= 0.9
This is reported: https://github.com/rpm-software-management/dnf5/issues/1084
Until it is fixed, we explicitly use the "dnf" (i.e. DNF 4) package manager in mock,
even on Fedora 40+.
2024-01-26 11:19:37 +01:00
Miro Hrončok
31f99e7ad0
CI: Run mock in verbose mode to see the logs
2024-01-26 11:15:16 +01:00
Miro Hrončok
81dd6d1601
CI: Keep patches near the specs to ease using the script from other dist-gits
...
That way, if a package (such as python-tox) uses it,
the patches in dist-git are available.
In the future, it also allows us to add patches without URLs to our tested spec files.
Related: rhbz#2168193
2023-02-13 16:42:58 +01:00
Miro Hrončok
8c8a3ad80b
CI: Invoke mock with --isolation=simple to workaround problems with systemd-nspawn
...
See https://pagure.io/fedora-ci/general/issue/217
Related: rhbz#2117571
2022-08-17 16:57:15 +02:00
Miro Hrončok
804d83af30
CI: On CentOS Stream, use EPEL Next, not EPEL proper
...
Also, make sure to never pull from EPEL's Koji repo,
as is also exposes RHEL packages in the metadata, but they error 403.
[MIRROR] libgcrypt-1.10.0-4.el9_0.x86_64.rpm: Status code: 403 for https://infrastructure.fedoraproject.org/repo/rhel/rhel9/x86_64/rhel-9-for-x86_64-baseos-rpms/Packages/l/libgcrypt-1.10.0-4.el9_0.x86_64.rpm
We just pull from the CentOS Stream Koji repo and EPEL Next Koji repo.
See the mock config for centos-stream+epel-next-9.
Related: rhbz#2117571
2022-08-16 16:31:33 +02:00
Miro Hrončok
a02a1ae59f
CI: More retrying for dnf, apparently 5 times 20 seconds is not enough
...
Related: rhbz#2060109
2022-05-06 12:19:08 +02:00
Miro Hrončok
fc08e7cf3e
CI: Determine mock chroot for centos-stream+epel, try not to break Fedora
...
Resolves: rhbz#2065590
2022-03-18 10:50:30 +01:00
DistroBaker
795a9b3332
Merged update from upstream sources
...
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.
Source: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git#26bb3cb4d123a7f57df5ec56b17ccbf3d415c505
2021-02-04 13:32:12 +00:00
Troy Dawson
89b6866906
RHEL 9.0.0 Alpha bootstrap
...
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/pyproject-rpm-macros#6a44fe2d7a819cdcb55159d19c6878419871b41f
2020-10-14 16:43:13 -07:00