Re: Questions about releasever change
Bruno Wolff III <[email protected]> Sat, 21 Dec 2013 10:57:43 -0600
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Dec 21, 2013 at 10:09:11 -0600, Bruno Wolff III <[email protected]> wrote: >Commit a52edb8c83e0006a6c0d3cc6071fb3f539e53d00 changed the returned >value for version for provides. Previously the version was the part >before the dash so that provide strings were treated like >version-release. This has broken things that use $releasever. > >I am curious about why this change was made? It looks like the rational is in bug 1002977 which is private. I also note the main commit is really d0272d66ad1c36e85facc7deed2408409cfec83a which suggests the behavior is intentional. And it looks like the correct thing to do is not include a version on the provides and one will get pulled from the package. It also looks like calls to yum.config._getsysver should provide a list of strings as the second argument instead of a string. (This is what is likely breaking livecd-creator.)