Skip to content

Commit

Permalink
tools: BuildRequires: python3-devel
Browse files Browse the repository at this point in the history
Fedora packaging policy demands python3-devel [1]. RHEL 8 has multiple
Python versions available, and depending on the python3 binary can
possibly select the non-default one from a module (such as Python
3.11). Ensure that we build against 3.6 by requiring python3-devel
  instead.

https://issues.redhat.com/browse/RHEL-2215
https://issues.redhat.com/browse/RHEL-2218

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_buildrequire_python3_devel
  • Loading branch information
martinpitt authored and mvollmer committed Sep 12, 2023
1 parent 14d20e2 commit 094f87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cockpit.spec
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ BuildRequires: pam-devel

BuildRequires: autoconf automake
BuildRequires: make
BuildRequires: /usr/bin/python3
BuildRequires: python3-devel
%if 0%{?rhel} && 0%{?rhel} <= 8
# RHEL 8's gettext does not yet have metainfo.its
BuildRequires: gettext >= 0.19.7
Expand Down

0 comments on commit 094f87d

Please sign in to comment.