[akmods] Use weak dependency on fedora

Nicolas Chauvet kwizart at rpmfusion.org
Mon Nov 28 07:57:51 CET 2016


commit 989a3062dc2d6fb81083159e6f7a3378fd4e2387
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Mon Nov 28 07:57:16 2016 +0100

    Use weak dependency on fedora

 akmods.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/akmods.spec b/akmods.spec
index 550a57a..b85672f 100644
--- a/akmods.spec
+++ b/akmods.spec
@@ -1,6 +1,6 @@
 Name:           akmods
 Version:        0.5.6
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Automatic kmods build and install tool 
 
 License:        MIT
@@ -37,6 +37,9 @@ Requires:       gzip perl make sed tar unzip util-linux which rpm-build
 # We use a virtual provide that would match either
 # kernel-devel or kernel-PAE-devel
 Requires:       kernel-devel-uname-r
+%if 0%{?fedora}
+Suggests:       kernel-devel
+%endif
 
 # we create a special user that used by akmods to build kmod packages
 Requires(pre):  shadow-utils
@@ -129,6 +132,9 @@ useradd -r -g akmods -d /var/cache/akmods/ -s /sbin/nologin \
 
 
 %changelog
+* Mon Nov 28 2016 Nicolas Chauvet <kwizart at gmail.com> - 0.5.6-2
+- Use Suggests kernel-devel weak-dependency - see rfbz#3386
+
 * Fri Oct 14 2016 Richard Shaw <hobbes1069 at gmail.com> - 0.5.6-1
 - Disable shutdown systemd service file by default.
 - Remove modprobe line from main service file.


More information about the rpmfusion-commits mailing list