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
This commit is contained in:
Takashi Iwai 2018-07-19 10:34:34 +00:00 committed by Git OBS Bridge
parent 215dc020c0
commit 5dc2c73e1e
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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}