Bug 1474423

Summary: akmods to install the appropriate kernel-devel variant
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: akmodsAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hdegoede, hobbes1069, kwizart, leigh123linux, negativo17, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-12 22:03:06 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:

Description Nicolas Chauvet (kwizart) 2017-07-24 15:00:26 UTC
Description of problem:
when installing any kernel-devel-uname-r, the appropriate variant should be picked.

Version-Release number of selected component (if applicable):
current

How reproducible:
always

Steps to Reproduce:
1. dnf install kernel-devel-uname-r
2. when using kernel-lpae (on arm) or kernel-debug
3.

Actual results:
the default kernel-devel is installed no matter which kernel variant is used.

Expected results:
It should install the same variant as the kernel

Additional info:
Suggested implementation. Please note that akmods or else are noarch packages, so they should not have %ifarch in them.
Also this is change cannot be implemented yet because the packaging guideline currently prevent wide use of boolean dependencies.

---
Requires: kernel-devel-uname-r
%if 0{?fedora:
Suggests: (kernel-devel if kernel)
Suggests: (kernel-debug-devel if kernel-debug)
Suggests: (kernel-PAE-devel if kernel-PAE)
Suggests: (kernel-PAEdebug-devel if kernel-PAEdebug)
Suggests: (kernel-lpae-devel if kernel-lpae)
Suggests: (kernel-rt-devel if kernel-rt)
}
---

Comment 1 Nicolas Chauvet (kwizart) 2017-08-12 22:03:06 UTC
Fixed in akmods-0.5.6-10