From 5dc2c73e1efd8a3a2b6371847417d016dbb77435189ba05fb0f8c7a7116be68b Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 19 Jul 2018 10:34:34 +0000 Subject: [PATCH] Accepting request 624026 from home:tiwai:branches:Kernel:HEAD - Remove useless check_whence.py that leads to unnecessary python dependency (bsc#1101818); also removing the python3 hack at prep, too OBS-URL: https://build.opensuse.org/request/show/624026 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=218 --- kernel-firmware.changes | 7 +++++++ kernel-firmware.spec | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/kernel-firmware.changes b/kernel-firmware.changes index c766893..4fe8cf0 100644 --- a/kernel-firmware.changes +++ b/kernel-firmware.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 19 12:21:17 CEST 2018 - tiwai@suse.de + +- Remove useless check_whence.py that leads to unnecessary python + dependency (bsc#1101818); + also removing the python3 hack at prep, too + ------------------------------------------------------------------- Wed Jul 18 06:41:40 UTC 2018 - mpluskal@suse.com diff --git a/kernel-firmware.spec b/kernel-firmware.spec index 1fb6677..d05462a 100644 --- a/kernel-firmware.spec +++ b/kernel-firmware.spec @@ -93,8 +93,6 @@ This package contains the microcode files used by AMD CPUs. %prep %setup -q cp %{SOURCE2} %{SOURCE8} %{SOURCE9} %{SOURCE10} . -# change ./check_whence.py to be a python3 program -sed -i "s|%{_bindir}/python$|%{_bindir}/python3|" ./check_whence.py %build # nothing to do @@ -112,6 +110,8 @@ rm -rf %{buildroot}/lib/firmware/carl9170fw # Devel files rm -f %{buildroot}/lib/firmware/isci/{Makefile,README} rm -f %{buildroot}/lib/firmware/isci/*.[ch] +# Remove check_whence.py; avoid useless python dependency (bsc#1101818) +rm -f %{buildroot}/lib/firmware/check_whence.py %post %{?regenerate_initrd_post}