hello, plusky is correct, the following will work: %ifpython3 Provides: matrix-synapse = %{version} %endif The %name macro is handled in a special way so that you can use it in subpackages and have it refer to the correct thing. Unfortunately, this breaks your usecase, because your package is not called "python-something". On 30.6.2017 21:36, Oliver Kurz wrote:
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?
The expected way here is to not use singlespec ;) and require all python-related stuff in the appropriate version. That is not to say that you're doing it wrong, just that you're doing something that was not anticipated during development. All in all, using singlespec with packages that are not "python-something" is not really supported at the moment. I'm surprised (and happy) that it works as well as it does. But I'm also open to suggestions as to how it could work better and what it should do. regards m.
Regards, Oliver