summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorTom Callaway <spot@fedoraproject.org>2014-07-12 18:37:40 -0400
committerTom Callaway <spot@fedoraproject.org>2014-07-12 18:37:40 -0400
commitd23e5375ca546a628959202000ad12acf4e6331e (patch)
treecda39ab91c1b445a6c45e92b801d4fc16ba32e14 /kernel.spec
parentc849684e55718726a234776fd875e50f77835269 (diff)
downloadkernel-d23e5375ca546a628959202000ad12acf4e6331e.tar.gz
kernel-d23e5375ca546a628959202000ad12acf4e6331e.tar.xz
kernel-d23e5375ca546a628959202000ad12acf4e6331e.zip
fix license handling. no build here, it can wait for the next kernel build to be applied
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index f52266ce3..1b50f1d1c 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@fedoraproject.org>
+- Fix license handling (I hope)
+
* Fri Jul 11 2014 Josh Boyer <jwboyer@fedoraproject.org> - 3.16.0-0.rc4.git3.1
- Linux v3.16-rc4-120-g85d90faed31e