From 5bab47b410ffdca8cedabae7d38c22e066396bf0 Mon Sep 17 00:00:00 2001 From: Nicolas ViƩville Date: Feb 14 2019 17:29:26 +0000 Subject: Add rhel6 case for LICENSE file in akmods.spec Signed-off-by: Nicolas ViƩville --- diff --git a/akmods.spec b/akmods.spec index 567c11f..8640c24 100644 --- a/akmods.spec +++ b/akmods.spec @@ -157,7 +157,11 @@ fi %files %doc README +%if 0%{?rhel} > 6 || 0%{?fedora} > 20 %license LICENSE +%else +%doc LICENSE +%endif %{_sbindir}/akmodsbuild %{_sbindir}/akmods %{_sysconfdir}/kernel/postinst.d/akmodsposttrans