Mailinglist Archive: opensuse-packaging (267 mails)

< Previous Next >
Re: [opensuse-packaging] RFC: Fonts Repo and Renaming Questions

This is somehow to be expected. :) If I change the "Obsoletes"
condition from "<=" to "<", the above warning disappears.

Now, the question is, is better to use "<" in this case or should I
change the version number? Which is the recommended strategy?
Just to make it right from the start. :)

The right thing is to live with the rpmlint warning; it will go away
once there is a new version.

FWIW, what we do in GNOME packages for this case is:

- until there's a new version out:

Provides: $oldname = %{version}
# FIXME: This causes a rpmlint warning; change <= to < once there's
a new upstream version Obsoletes: $oldname <= %{version}

- when there's a new version out:

Provides: $oldname = %{version}
Obsoletes: $oldname < %{version}

Ahhh, that's cool! Thanks Vincent! :) I'll document that in FATE#313035
and in the packaging guidelines.

Thomas Schraitle

SUSE LINUX Products GmbH (o<
Maxfeldstrasse 5 /\\ Documentation Specialist
90409 Nuernberg, Germany _\_v
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild,
Felix Imendörffer, HRB 21284 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >