https://bugzilla.redhat.com/show_bug.cgi?id=2242971
--- Comment #3 from Davide Cavalca davide@cavalca.name --- Notes from a first pass: - URL should be https://pytorch.org/, define %forgeurl or something like that for the github repo - please add a comment for each patch documenting what it does, and ideally a link to an upstream submission for it, or a note that it's internal only to Fedora and why - why are we statically linking blas? - you can drop the %{?python_provide:%python_provide python3-%{pypi_name}} it's not needed anymore - please use the pyproject macros instead of the deprecated python build macros; this should also allow you to drop all the Requires for the subpackages as they'll be autogenerated - use %{_includedir} instead of hardcoding /usr/include in %prep; also consider symlinking instead of coyping to make it more explicit where these come from - the thirdy_party stuff we're not removing needs to be declared as Provides: bundled() and taken into account in the License field - you shouldn't need to export CC and export CXX, %set_build_flags is called by default these days and does that for you