From 743c79e933e0406f2d66efed55d513e4237aaf3e0461d38d378580b3d50199cc Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 4 Apr 2018 10:15:25 +0000 Subject: [PATCH] Accepting request 593443 from home:dimstar:Factory - Update hasbang in installed files from /usr/bin/env python3 to /usr/bin/python3. OBS-URL: https://build.opensuse.org/request/show/593443 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=27 --- fwupd.changes | 6 ++++++ fwupd.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fwupd.changes b/fwupd.changes index b41b43b..1b94029 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 4 09:43:55 UTC 2018 - dimstar@opensuse.org + +- Update hasbang in installed files from /usr/bin/env python3 to + /usr/bin/python3. + ------------------------------------------------------------------- Tue Apr 3 13:14:02 UTC 2018 - mpluskal@suse.com diff --git a/fwupd.spec b/fwupd.spec index 65079cf..785c81d 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -21,7 +21,6 @@ %else %bcond_with efi_fw_update %endif - Name: fwupd Version: 1.0.6 Release: 0 @@ -133,6 +132,9 @@ if this gets used on other non-desktop hardware. %prep %setup -q +for file in $(grep -l %{_bindir}/env . -r); do + sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file +done %build # Dell support requires direct SMBIOS access,