Overview

Request 1155366 accepted

Commandline google calendar utility

Loading...

Christophe Marin's avatar

For consistency and unless I'm misreading the wiki, the Requires and Recommends lines should be python-XXX rather than python3-XXX

python-rpm-macros will rewrite them to match %pythons flavors.


Michal Suchanek's avatar
author source maintainer target maintainer

That may be the case for library packages that build for multiple python versions.

For applications that aim to be portable between Leap and Tumbleweed there is no clear answer, unfortunately.


Daniel Garcia's avatar

Yes, the python-XXX is for packages that uses the %python_subpackages macro [1], that creates requirements for each flavor. Without using that macro you need to use the correct versioned python packages in other case the rpm will depend on python-XXX, that's usually python2 and possibly won't exist.

[1] https://en.opensuse.org/openSUSE:Packaging_Python#%python_subpackages


Christophe Marin's avatar

Thanks for the explanation. I'll accept the SR.

@michals Please change the %python_module BR to python3- and use %python3_build / %python3_install

Request History
Michal Suchanek's avatar

michals created request

Commandline google calendar utility


Christophe Marin's avatar

krop accepted request

openSUSE Build Service is sponsored by