Description of problem: I see that Fedora when they updated rpmlint to 2.4 they also updated python3 to 3.11 for fc38 and 3.12 for rawhide. Can we please update Python to at least 3.11 since we already have 3.10? Version-Release number of selected component (if applicable): 3.11 How reproducible: All the time. Steps to Reproduce: 1. Download the rpmlint src.rpm for fc38 and open the spec file. 2. The spec file states to use 3. At the bottom in the changelog you see this: * Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.2.0-4 - Rebuilt for Python 3.11
In order to build the package we also need to add the macro called %generate_buildrequires.
That can be found in this src.rpm: https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/p/pyproject-rpm-macros-1.10.0-1.fc40.src.rpm
This request to update Python3 looks to be just to update rpmlint. You say that needs the extra macro in comment 1. Is this update necessary? rpmlint is something very stable. Updating Python3 would be a major exercise; I suspect (perhaps wrongly) entailing rebuilding vast numbers of packages. What is your real interest here? It is true that our version 1.11 (Jan 2019) of rpmlint looks dated compared to the latest 2.4 (Oct 2022). But the project page says simply: "For installation on your machine you will need the following packages: Mandatory: Python 3.8 or newer ..." Where did you dig up the extra requirement for the macro called %generate_buildrequires ?
CC: (none) => lewyssmithSource RPM: python3 => python3.10, rpmlint-1.11-7.mga9.src.rpm
rpmlint 2.4.0 can be built with current python3.10 https://bugs.mageia.org/show_bug.cgi?id=30427#c13, will be good if cauldron have more recent python but is not necessary to build rpmlint 2.4.0
Closing as duplicate of bug 32425, because that report contains precise information about the order in which python* and other involved packages need to be built *** This bug has been marked as a duplicate of bug 32425 ***
Resolution: (none) => DUPLICATEStatus: NEW => RESOLVEDCC: (none) => marja11
(In reply to Kristoffer Grundström from comment #1) > In order to build the package we also need to add the macro called > %generate_buildrequires. Hello, This is already supported in Mageia 9, even with python3.10. You have to BuildRequires pyproject-rpm-macros.
CC: (none) => yvesbrungard