Description of problem: kernel-PAE-modules-extra no longer provides kernel-modules-extra, so that if you are using a PAE kernel, dlm will pull in non-PAE kernel packages. Depending on the intent of requiring kernel-modules-extra, requiring installonlypkg(kernel-module) may be a suitable replacement. Version-Release number of selected component (if applicable): gfs2-utils-0:3.1.6-5.fc21.i686
installonlypkg(kernel-module) is not suitable as a requires replacement. We should wait for the *.ko autoprovides feature to make changes.
Auto provides for kernel modules has been enabled in kernel-3.15.0-0.rc5.git2.8.fc21, which should show up in tomorrow's rawhide barring unexpected issues. You can now use contructs like kmod(joydev.ko) to make sure the joystick driver is installed, instead of requiring kernel-modules-extra. This also makes packages proofed against modules moving between kernel-modules and kernel-modules-extra.
Created attachment 895577 [details] Patch to switch to using Requires on individual kernel modules The attached patch switches gfs2-utils from using a Requires on kernel-modules-extra to using a requires on the individual kernel modules now that bug 1058331 is in rawhide. Please review and let me know if it's OK to commit and build.
(In reply to Josh Boyer from comment #3) > Created attachment 895577 [details] > Patch to switch to using Requires on individual kernel modules > > The attached patch switches gfs2-utils from using a Requires on > kernel-modules-extra to using a requires on the individual kernel modules > now that bug 1058331 is in rawhide. > > Please review and let me know if it's OK to commit and build. It looks good but it will also need a "Requires: kmod(dlm.ko)" inside the same conditionals as the kmod(gfs2.ko) requirement. So: -%{?fedora:Requires: kernel-modules-extra} +%{?fedora:Requires: kmod(gfs2.ko) kmod(dlm.ko)} Feel free to commit and build after adding that. And thanks!
(In reply to Andrew Price from comment #4) > (In reply to Josh Boyer from comment #3) > > Created attachment 895577 [details] > > Patch to switch to using Requires on individual kernel modules > > > > The attached patch switches gfs2-utils from using a Requires on > > kernel-modules-extra to using a requires on the individual kernel modules > > now that bug 1058331 is in rawhide. > > > > Please review and let me know if it's OK to commit and build. > > It looks good but it will also need a "Requires: kmod(dlm.ko)" inside the > same conditionals as the kmod(gfs2.ko) requirement. So: > > -%{?fedora:Requires: kernel-modules-extra} > +%{?fedora:Requires: kmod(gfs2.ko) kmod(dlm.ko)} > > Feel free to commit and build after adding that. And thanks! OK, will do. Thanks for the review.
Pushed and building now. Thanks again.