On Mon, Jun 10, 2013 at 08:24:10PM +0200, Jakub Hrozek wrote:
When adding "Provides:" and "Obsoletes:", it is inappropriate to do Obsoletes: libsss_sudo < %{version}-%{release}
The Fedora guidelines require that the Obsoletes: be a specific version (the last one before the change occurred). So
Obsoletes: libsss_sudo <= 1.9.5
OK, in my defense I've seen these in some of the specfiles I've got cloned from Fedora's dist-git (not that it would make them correct).
I made the changes in the version that is attached, just with a differens version to compare against. I think your suggestion would make sense for a Fedora package, but in upstream, we want to obsolete all the nightly builds prior to the switch as well.
So I added another point version number (minor versions come cheap) and compared against 1.9.93.
I forgot to add that the new minor number would be removed after releasing the next upstream version.