https://bugzilla.redhat.com/show_bug.cgi?id=1910392 --- Comment #4 from Fabian Affolter <mail@xxxxxxxxxxxxxxxxxx> --- (In reply to code from comment #2) > This would be a great candidate for using generated BR’s: > > %generate_buildrequires > %pyproject_buildrequires -x test > > %prep > > ----- > > It saves you the trouble of manually enumerating, and possibly missing, BR’s > (and re-doing it for every upstream update), and it automatically puts in > version requirements too. > > See https://src.fedoraproject.org/rpms/pyproject-rpm-macros for more. Changed (In reply to code from comment #3) > For the typing extra, this should have: > > %{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i > %{python3_sitelib}/*.egg-info typing} > > Details at > https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ > #_python_extras. Added Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=60540015 %changelog * Sun Jan 24 2021 Fabian Affolter <mail@xxxxxxxxxxxxxxxxxx> - 0.1.0-2 - Switch to pyproject-rpm-macros (#1910392) Spec URL: https://fab.fedorapeople.org/packages/SRPMS/python-build.spec SRPM URL: https://fab.fedorapeople.org/packages/SRPMS/python-build-0.1.0-2.fc33.src.rpm -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx