https://bugzilla.redhat.com/show_bug.cgi?id=1976464 Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zebob.m@xxxxxxxxx --- Comment #3 from Robert-André Mauchin 🐧 <zebob.m@xxxxxxxxx> --- - This is not needed anymore, it is now automatic: %{?python_provide:%python_provide python3-%{pypi_name}} - The requires should also be autodetected Requires: (python3dist(hug) >= 2.6.1 with python3dist(hug) < 3) Requires: python3dist(setuptools) - I'd suggest you also use the new pyproject macros, here's a sample: Name: python-iniconfig Version: 1.0.0 Release: 1%{?dist} Summary: Brain-dead simple parsing of ini files License: MIT URL: http://github.com/RonnyPfannschmidt/iniconfig BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros Source0: %{pypi_source iniconfig} # Backport: Fix pytest 5+ compatibility Patch1: %{url}/commit/41076a67.patch # pytest 6+ needs this and this uses pytest for tests %bcond_without tests %global _description %{expand: iniconfig is a small and simple INI-file parser module having a unique set of features: * tested against Python2.4 across to Python3.2, Jython, PyPy * maintains order of sections and entries * supports multi-line values with or without line-continuations * supports "#" comments everywhere * raises errors with proper line-numbers * no bells and whistles like automatic substitutions * iniconfig raises an Error if two sections have the same name.} %description %_description %package -n python3-iniconfig Summary: %{summary} %description -n python3-iniconfig %_description %prep %autosetup -n iniconfig-%{version} %generate_buildrequires %pyproject_buildrequires %{?with_tests:-t} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files iniconfig %if %{with tests} %check %tox %endif %files -n python3-iniconfig -f %{pyproject_files} %doc README.txt %license LICENSE %changelog * Mon Jul 13 2020 Miro Hrončok <mhroncok@xxxxxxxxxx> - 1.0.0-1 - Initial package -- 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 Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure