[kernel] fix license handling. no build here, it can wait for the next kernel build to be applied

Tom Callaway spot at fedoraproject.org
Sat Jul 12 22:37:20 UTC 2014


commit d23e5375ca546a628959202000ad12acf4e6331e
Author: Tom Callaway <spot at fedoraproject.org>
Date:   Sat Jul 12 18:37:40 2014 -0400

    fix license handling. no build here, it can wait for the next kernel build to be applied

 kernel.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/kernel.spec b/kernel.spec
index f52266c..1b50f1d 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2175,6 +2175,8 @@ fi
 %if %{1}\
 %{expand:%%files -f kernel-%{?2:%{2}-}core.list %{?2:%{2}-}core}\
 %defattr(-,root,root)\
+%{!?_licensedir:%global license %%doc}\
+%license linux-%{KVERREL}/COPYING\
 /%{image_install_path}/%{?-k:%{-k*}}%{!?-k:vmlinuz}-%{KVERREL}%{?2:+%{2}}\
 /%{image_install_path}/.vmlinuz-%{KVERREL}%{?2:+%{2}}.hmac \
 %ifarch %{arm} aarch64\
@@ -2238,6 +2240,9 @@ fi
 #                                    ||----w |
 #                                    ||     ||
 %changelog
+* Sat Jul 12 2014 Tom Callaway <spot at fedoraproject.org>
+- Fix license handling (I hope)
+
 * Fri Jul 11 2014 Josh Boyer <jwboyer at fedoraproject.org> - 3.16.0-0.rc4.git3.1
 - Linux v3.16-rc4-120-g85d90faed31e
 


More information about the scm-commits mailing list