On 04/02/2014 12:08 PM, Thomas Monjalon wrote: > 2014-02-26 14:22, Thomas Graf: >> On 02/04/2014 04:54 PM, Thomas Monjalon wrote: >>> +BuildRequires: dpdk-core-devel, kernel-devel, kernel-headers >>> +Requires: dpdk-core-runtime >> >> How does the compatibility mapping look like? I assume a given vmxnet3 >> version can only be linked against certain dpdk versions? We need to >> encode that mapping in the spec file somehow. > > Since vmxnet3-usermap-1.1, any dpdk >= 1.3 is supported. > But RPM packaging is not supported for these old versions. > So do you think it's needed to encode a restriction for these old versions?
The restriction is only needed if RPM packages for these old versions actually exist. On a more general note: While it is extremely nice to have this spec file to ease the building process. Fedora does not allow inclusion of external kernel modules: https://fedoraproject.org/wiki/Packaging:Guidelines#No_External_Kernel_Modules