[Fedora-packaging] Requires: kmod(some_module)

Tom Hughes tom at compton.nu
Tue Oct 14 14:16:04 UTC 2014


On 14/10/14 14:58, lejeczek wrote:

> On 14/10/14 14:13, Tom Hughes wrote:
>> On 14/10/14 13:51, lejeczek wrote:
>>
>>> it rpmbuilds fine but later when attempt to install the package yum
>>> fails with:
>>> ...
>>> --> Finished Dependency Resolution
>>> Error: Package: some_package
>>>             Requires: kmod(some_module.ko)
>>> ...
>>> And module in question naturally is installed.
>>>
>>> I'm missing something silly, what is it?
>>
>> At a guess you're doing this on F20 but the kmod provides are new in
>> F21. Did you maybe take an F21 spec and rebuild it for F20?
>
> bullseye, how to require kernel modules in earlier Fedoras?

You can't - you have to just require kernel or kernel-modules-extra 
depending on which package the one you want is in.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/


More information about the packaging mailing list