Bug 1047058

Summary: Please make fedora-release more compatible with respect to yum changes related to releasever
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: fedora-releaseAssignee: Dennis Gilmore <dennis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno, dennis
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fedora-release-19-8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-23 08:36:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch for rawhide
none
patch for f20
none
Patch for f19 none

Description Bruno Wolff III 2013-12-28 18:53:55 UTC
Created attachment 842731 [details]
patch for rawhide

Description of problem:
Recently yum made two changes which primarily impacted people using generic-release instead of fedora-release. However it would be nice if fedora-release also was changed to align with these changes.
The first change was that when provides is used with a version string, the whole string is used now instead of the version of the package. (If there is no version string, then the version of the package is used.) This affected people using generic-release as it provided a version string for redhat-release that included the version and release of the package. This change would also affect people who set disroverpkg to system-release for either package. There probably aren't many people who have done that, but it isn't unreasonable.
The other change is that distropkg is now a list and the default is ['system-release(release)', 'redhat-release']. Since system-release(release) is listed first it would be nice if that was provided, so that yum (and eventually dnf and livecd-creator) didn't have to look at two provides to pick up the release version used by default for releasever.
There are two bugs that have been filed related to this change for other packages that might provide more insight on the change. (bug 1044675 and bug 1040607)
	
My the suggested changes are:
Remove the explicit version on the system-release provides.
Add a provides for system-release(release).

These yum changes are currently in rawhide, f20 updates and f19 updates-testing.

Comment 1 Bruno Wolff III 2013-12-28 18:55:11 UTC
Created attachment 842732 [details]
patch for f20

Comment 2 Bruno Wolff III 2013-12-28 18:56:22 UTC
Created attachment 842744 [details]
Patch for f19

Comment 3 Fedora Update System 2014-02-19 13:26:08 UTC
fedora-release-19-8 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/fedora-release-19-8

Comment 4 Fedora Update System 2014-02-19 13:51:38 UTC
fedora-release-20-3 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/fedora-release-20-3

Comment 5 Fedora Update System 2014-02-22 00:39:23 UTC
Package fedora-release-19-8:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedora-release-19-8'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2791/fedora-release-19-8
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-02-23 08:36:55 UTC
fedora-release-20-3 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-02-26 13:55:05 UTC
fedora-release-19-8 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.