Bug 1022851 - Add Python 3 support
Add Python 3 support
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pyusb (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Gwyn Ciesla
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2013-11-11 12:36:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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:
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
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.