On Saturday, 1 July 2017 10:53:03 CEST Martin Pluskal wrote:
On 6/30/17 9:36 PM, Oliver Kurz wrote:
With python singlespec my package names get prepended by python3- or python2- in all cases. Can I somehow achieve to provide a package name for one of the two python versions without any "python2/3-" prefix?
For example: https://build.opensuse.org/package/view_file/network:messaging:matrix/matr ix-synapse/matrix-synapse.spec?expand=1
has Name: matrix-synapse
but is a full python singlespec spec file yielding * python2-matrix-synapse * python3-matrix-synapse
but I would like at least one package to be or "provide" matrix-synapse. If not possible I would also be ok to build it just with one python version to end up with just "matrix-synapse". But again: What's the proper way?
Regards, Oliver
Hi
Something like:
%ifpython3 Provides: matrix-synapse = %{version} %endif
I don't think that works. https://build.opensuse.org/package/live_build_log/network:messaging:matrix/ matrix-synapse/openSUSE_Tumbleweed_dlp_hobdlp/x86_64 states [ 96s] python2-matrix-synapse.noarch: W: useless-provides python2-matrix- synapse [ 96s] This package provides 2 times the same capacity. It should only provide it [ 96s] once. but the spec file never stated python-… but only %{name} which is without the python-prefix. Any other ideas? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org