Home Home > GIT Browse > stable-xen
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2017-08-18 16:14:38 +0200
committerMichal Suchanek <msuchanek@suse.de>2017-08-22 13:17:16 +0200
commit0b0b5c9c271387f85312f0ead5a4bd3915e8bc3c (patch)
treed9fbf93d98b3f214db3fe7e32bcd580dc88fd3ec
parentf622d60b69b047a70b16ca24b99d1f392775e6ea (diff)
Do not ship firmware (bsc#1054239).
Pull firmware from kernel-firmware instead.
-rw-r--r--rpm/kernel-binary.spec.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index 15f41e570f..f5ab9e810f 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -102,6 +102,7 @@ Obsoletes: %name-base < 3.1
Requires(pre): coreutils awk
# For /usr/lib/module-init-tools/weak-modules2
Requires(post): suse-module-tools
+Recommends: kernel-firmware
# For depmod (modutils is a dependency provided by both module-init-tools and
# kmod-compat)
Requires(post): modutils
@@ -223,8 +224,6 @@ Provides: compat-ath9k = 3.0
%obsolete_kmp rt3592 2.4.1.1_3
%obsolete_kmp rt5390 2.4.0.4_3
%obsolete_kmp ath3k 1.0_3
-Obsoletes: ath3k-firmware <= 1.0
-Provides: ath3k-firmware = 1.0
%obsolete_kmp compat-wireless 3.12
%obsolete_kmp rts5229 1.08
%obsolete_kmp rts_pstor 1.11
@@ -726,6 +725,8 @@ if [ %CONFIG_MODULES = y ]; then
$(echo %srcversion | sed -r 's/^([0-9]+)\.([0-9]+).*/\1 \2/')
fi
+rm -rf %{buildroot}/lib/firmware
+
add_dirs_to_filelist() {
sed -rn '
# print file name