Hi Jason!

Please resolve patch error and don't care about obsoletes.

аў, 20 ліп 2021, 03:23 карыстальнік Jason Craig <os-dev@jacraig.com> напісаў:
I was going to update python-colander
(https://build.opensuse.org/package/show/home:jacraig:branches:devel:languages:python/python-colander),
but RPM has this to say:

[  123s] RPM build errors:
[  123s]     line 37: It's not recommended to have unversioned
Obsoletes: Obsoletes:      python2-colander-doc
[  123s]     line 38: It's not recommended to have unversioned
Obsoletes: Obsoletes:      python2-colander-lang
[  123s]     line 39: It's not recommended to have unversioned
Obsoletes: Obsoletes:      python3-colander-doc
[  123s]     line 40: It's not recommended to have unversioned
Obsoletes: Obsoletes:      python3-colander-lang

etc. It merely says it's not recommended yet refuses to build (I guess
we can quibble about what recommended means). At any rate, how do I fix
this? The Obsoletes were apparently added when the -doc and -lang
packages were dropped. Would I replace the Obsoletes with e.g.

Obsoletes:      python2-colander-doc < 1.8.3

(etc.) where 1.8.3 is the new version that I would update to? Or use
some other version? Or is the syntax different than that? The RPM
documentation's short blurb about Obsoletes literally does not show any
syntax nor does it mention anything about versions. Am I the only one
who finds the documentation on rpm.org obtuse and less than helpful
pretty much every time I look at it?

thanks,
--
Jason Craig