Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Renaming a package
Le jeudi 17 février 2011, à 09:57 +0100, Cristian Morales Vega a écrit : recommends:

Provides: pac = 1.0
Obsoletes: pac <= 1.0

Here's how I usually do it now:

- first, just renaming:
Provides: pac = %{version}
# FIXME bla bla bla remove <= on version upgrade
Obsoletes: pac <= %{version}

- when there's a new version:
Provides: pac = %{version}
Obsoletes: pac < %{version}

The <= is important at first, I believe, since you're not sure the old
package will be removed if it's < (since the installed version is higher
than the obsoleted one).


Les gens heureux ne sont pas pressés.
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups