I'm packaging a software that requires pyusb. Upstream supports Python 3 but this package have not yet been updated to support Python 3 in Fedora. Also note: https://fedoraproject.org/wiki/Changes/Python_3_as_Default A few comments on the current spec that should be fixed: 1. Remove BuildRoot 2. Make Source0 viable 3. Use %{__python2} / %{__python3} instead of %{__python} 4. BuildRequires: python-devel should be python2-devel or python3-devel 4. Remove rm -rf $RPM_BUILD_ROOT in %install 5. Remove %clean 6. %defattr(-,root,root,-) is no longer needed
Done in rawhide, let me know if you want/need this in any other branches.