Hide Forgot
Description of problem: rlGetDistroRelease and rlGetDistroVariant are lazy on rhel7. It returns zero or nothing. Version-Release number of selected component (if applicable): beakerlib-redhat-1-5.el7.noarch How reproducible: deterministic Steps to Reproduce: [root@nec-em6 simple]# rlGetDistroRelease 0 [root@nec-em6 simple]# rlGetDistroVariant [root@nec-em6 simple]# Actual results: 0, nothing Expected results: rlGetDistroRelease = 7 rlGetDistroVariant = Server in case of 'server' Additional info: cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.0 Alpha1 (Maipo)
That's because the redhat-release package has some weird %{VERSION} of the relevant rpm. I do not think this is a fault of beakerlib. As soon as the package will say it is from RHEL7, we can perhaps adjust the regexen, but when it says the RHEL is 6.90... What I now see @ zelo: # rpm -q --whatprovides redhat-release redhat-release-server-6.90Server-7.0.0.2.el7.x86_64 [root@zelo beakerlib]# rlGetDistroVariant .90Server [root@zelo beakerlib]# rlGetDistroRelease 6
Anyways, I checked in something which should help and not break other versions.
beakerlib-1.6-1 is already in fedora
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19