Johnny A. Solbu wrote: > On Sunday 6. January 2013 11.57, Thierry Vignaud wrote: >> In spec file. >> This ensures we end with both obsoletes & provides tags > > The reason I didn't do that, is that I think it might not obsolete te current > version, as the «replacement package» have an «older» vversion number than te one being obsoleted. > Specifically, rp-pppoe-plugin have version 3.10, but ppp-pppoe that's > replacing it have version 2.4.5. So the %rename tag will not even obsolete a 12 year old package. (rp-pppoe v2.5 was released in 2000) > > That is how I've understood the %rename tag. > So the way I see it, I should just add a Provides tag.
You are correct. %rename is usually just used when you're renaming a subpackage within one SRPM or renaming an entire SRPM. It can't be used against something that has a different version, as was the case here. Manually adding the Provides was the correct solution.
