On Wed, 7 May 2008, Michael Schroeder wrote:
On Wed, May 07, 2008 at 03:32:10PM +0200, Richard Guenther wrote:
old: Name: newpac Version: 1.1 Provides: oldpac = 1.1 Obsoletes: oldpac <= 1.0
new: Name: oldpac Version: 1.1 Provides: newpac = 1.1 Obsoletes: newpac <= 1.1
At some point in time yast didn't catch the update from newpac to oldpac.
I think that this works for the solver, but I'm not so sure about the dist upgrade algorithm.
(Of course, the provides should actually be %{version}-%{release}, but maybe that's too confusing)
A question from the outside world: Shouldn't be Provides be equal to the new package version: Name: newpac Version: 1.1 Release: 12 Provides: oldpac = %{version}-%{release} Obsoletes: oldpac <= 1.0 This would be the only variant, which is equal to not renaming the package. And thus simulates a normal update. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org