public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproject-rpm-macros] f44: CI: Temporary workaround for failing c9s/c10s mockbuilds
@ 2026-11-30 23:16
0 siblings, 0 replies; only message in thread
From: @ 2026-11-30 23:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : f44
Commit : b7ccb67a5d1e9316357e9649d879638ff6492606
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-11-27T12:20:26+01:00
Stats : +6/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/b7ccb67a5d1e9316357e9649d879638ff6492606?branch=f44
Log:
CI: Temporary workaround for failing c9s/c10s mockbuilds
Kevin explained the issue in https://forge.fedoraproject.org/infra/tickets/issues/13696#issuecomment-1379926
Paraphrased here to better much our circumstances:
The problem is on Fedora 45+ which has
https://fedoraproject.org/wiki/Changes/Enforcing_signature_checking_by_default
in it: rpm defaults to signature checking.
For Fedora mock builds (using dnf5) this works fine,
it gets disabled by dnf5 and everything works.
For centos-stream+epel chroots however, mock uses dnf-3.
dnf-3 has no way to disable this signature checking and it fails.
So we set %_pkgverify_level to digest (on host), to get the old Fedora 44 behavior.
mock issue: https://github.com/rpm-software-management/mock/issues/1853
---
diff --git a/tests/mocktest.sh b/tests/mocktest.sh
index 5dc0e8c..10cbc99 100755
--- a/tests/mocktest.sh
+++ b/tests/mocktest.sh
@@ -1,4 +1,8 @@
#!/usr/bin/bash -eux
+
+# Temporary workaround for https://github.com/rpm-software-management/mock/issues/1853
+echo '%_pkgverify_level digest' > /etc/rpm/macros.zzz-pyproject-ci-pkgverify-level
+
if [ -z "${VERSION_ID-}" ] && [ -z "${ID-}" ]; then
. /etc/os-release
fi
@@ -88,4 +92,6 @@ for log in *.log; do
done
popd
+rm -vf /etc/rpm/macros.zzz-pyproject-ci-pkgverify-level
+
exit $res
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 23:16 [rpms/pyproject-rpm-macros] f44: CI: Temporary workaround for failing c9s/c10s mockbuilds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox