On Thu, 9 Jul 2015 14:25, Olaf Hering wrote:
On Thu, Jul 09, Andrei Borzenkov wrote:
On Thu, Jul 9, 2015 at 2:36 PM, Olaf Hering wrote:
The shared library from x.rpm was moved to a subpackage libx0.rpm. Since x.rpm contained just that lib the new libx0.rpm now has: Obsoletes: x < %version Provides: x = %version
But since x.rpm and libx0.rpm have the very same version number the %version is actually %version-%release for both tags.
How is it going to work in derived repos where release numbers are not related in any way?
Not at all, like in this case. Factory has libx0-0.9.4-4.1, which obsoletes < x-0.9.4-4.1. But that does not obsolete the installed x-0.9.4-23.1 which came from packman.
I guess in this case the only way out would be a plain Obsoletes: x
It may be stupid, but what about two "Obsoletes" lines: Obsoletes: x < %version-%release # specific obsolete last packman version Obsoletes: x = 0.9.4-23.1 But, there also was a way to set the %release in a spec file, this would be better, IMHO. Otherwise, intoduce a added 'patchnumber' to the upstream version string, e.g. Version = 0.9.4.1 - Yamaban. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org