[floppy-support] Protect against the floppy driver moving to kernel-modules-extra

Bruno Wolff III bruno at fedoraproject.org
Thu May 15 02:12:23 UTC 2014


commit 16cb6aab831de0102779f80b4608795ba6330838
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Wed May 14 21:11:47 2014 -0500

    Protect against the floppy driver moving to kernel-modules-extra

 floppy-support.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/floppy-support.spec b/floppy-support.spec
index 013ecdd..2c951b6 100644
--- a/floppy-support.spec
+++ b/floppy-support.spec
@@ -1,6 +1,6 @@
 Name: floppy-support          
 Version:        1.0.0
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Load floppy driver at boot time
 Group: System Environment/Kernel
 
@@ -10,6 +10,7 @@ License:        MIT
 #URL:            
 #Source0:        
 
+Requires: kmod(floppy.ko)
 Requires: systemd
 Requires(post): module-init-tools
 
@@ -18,7 +19,9 @@ BuildArch:      noarch
 %description
 By default the floppy driver is not loaded at boot time. Installing this
 package will load the floppy driver as part of the install and will set
-things so that it will be loaded during future boots.
+things so that it will be loaded during future boots. While the floppy
+driver is currently in kernel-modules, it may move to kernel-modules-extra
+in the future, and if so this package will bring that in.
 
 %prep
 
@@ -40,6 +43,9 @@ echo floppy > $RPM_BUILD_ROOT%{_libdir}/../lib/modules-load.d/floppy.conf
 /sbin/modprobe floppy
 
 %changelog
+* Wed May 14 2014 Bruno Wolff III <bruno at wolff.to> 1.0.0-7
+- Require the floppy kernel module in case it moves to kernel-modules-extra
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list