[Fedora-packaging] Proposal for Python guidelines change (in connection to Python 3 switch)

Bohuslav Kabrda bkabrda at redhat.com
Wed Dec 4 11:37:06 UTC 2013


----- Original Message -----
> What about package that doesn't have python- prefix?
> 
> I saw that in the example:
> 
> 	%if 0%{?with_python2}
> 	...
> 	BuildRequires:  tkinter
> 	%endif
> 	
> 	%if 0%{?with_python3}
> 	...
> 	BuildRequires:  python3-tkinter
> 	%endif
> 
> So I guess tkinter is Python 2. Should it be renamed to python2-tkinter
> and provide tkinter? Or should Python 3 version provide tkinter? Or both?

(tkinter is actually a subpackage of python itself) Renaming tkinter to python2-tkinter (with proper Provides and Obsoletes) would be the way to go here, I think. I'll fix it in the proposal.

> 
> --
> Miro HronĨok
> --
> Phone: +420777974800
> IRC: mhroncok

-- 
Regards,
Bohuslav "Slavek" Kabrda.


More information about the packaging mailing list