[joystick-support] Switch to requiring specific kernel modules

Bruno Wolff III bruno at fedoraproject.org
Thu May 15 02:07:36 UTC 2014


commit a9457e0a92a77244e478dcfaf38e0da5f6549e77
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Wed May 14 21:06:37 2014 -0500

    Switch to requiring specific kernel modules

 joystick-support.spec |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/joystick-support.spec b/joystick-support.spec
index 845afb0..284a5ec 100644
--- a/joystick-support.spec
+++ b/joystick-support.spec
@@ -1,6 +1,6 @@
 Name: joystick-support          
 Version:        1.0.0
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        Load joystick / game pad drivers at boot time
 Group: System Environment/Kernel
 
@@ -10,7 +10,8 @@ License:        MIT
 #URL:            
 #Source0:        
 
-Requires:       installonlypkg(kernel-module)
+Requires:       kmod(joydev.ko)
+Requires:       kmod(analog.ko)
 Requires:       systemd
 
 Requires(post): module-init-tools
@@ -24,8 +25,8 @@ ExcludeArch:    %{arm}
 By default the joystick and game pad drivers are not loaded at boot time. Nor
 are they installed by default. Installing this package will load the main
 joystick and game pad drivers as part of the install, will bring in
-kernel-modules-extra if it isn't already, and will set things so that they 
-will be loaded during future boots.
+kernel-modules-extra if it is needed (which it currently is), and will set 
+things so that they will be loaded during future boots.
 
 
 %prep
@@ -48,6 +49,9 @@ echo -e "joydev\nanalog" > $RPM_BUILD_ROOT%{_libdir}/../lib/modules-load.d/joyst
 /sbin/modprobe analog
 
 %changelog
+* Wed May 14 2014 Bruno Wolff III <bruno at wolff.to> 1.0.0-11
+- Use new kernel module provides to get kernel-modules-extra
+
 * Mon Jan 20 2014 Bruno Wolff III <bruno at wolff.to> 1.0.0-10
 - Require installonlypkg(kernel-module) instead on kernel-modules-extra
 


More information about the scm-commits mailing list