Learn more about these different git repos.
Other Git URLs
We use %py3_build macro (e.g. in python-copr) and it fails to build on el9 https://koji.fedoraproject.org/koji/taskinfo?taskID=80582683 According to https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ we should a) resolve this situation for epe9 b) update our macros to match current guidelines
Metadata Update from @praiskup: - Issue tagged with: bug
The epel9 problem is here:
%if 0%{?fedora} && 0%{?fedora} < 31 || 0%{?rhel} && 0%{?rhel} <= 8 BuildRequires: python3-devel ... %endif ... %if 0%{?fedora} > 30 BuildRequires: pyproject-rpm-macros ... %generate_buildrequires %pyproject_buildrequires -r %endif
That means that when fedora is undefined and rhel is 9, neither happens.
Note thou: You should always prefer BuildRequires: python3-devel over BuildRequires: pyproject-rpm-macros, even on Fedora.
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
See https://src.fedoraproject.org/rpms/python-copr/pull-request/1
This issue has been migrated to GitHub: https://github.com/fedora-copr/copr/issues/2023
Metadata Update from @nikromen: - Issue close_status updated to: MIGRATED - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.