Bug 1022851 - Add Python 3 support
Add Python 3 support
Product: Fedora
Classification: Fedora
Component: pyusb (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Gwyn Ciesla
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-10-24 03:22 EDT by Johan Swensson
Modified: 2013-11-11 12:36 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-11 12:36:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Johan Swensson 2013-10-24 03:22:58 EDT
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:

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
Comment 1 Gwyn Ciesla 2013-11-11 12:36:26 EST
Done in rawhide, let me know if you want/need this in any other branches.

Note You need to log in before you can comment on or make changes to this bug.