Add double quotes around file names

Upstream added board nvram files that use spaces in their names.
We need to quote the filenames so RPM doesn't puke on the filelist
This commit is contained in:
Josh Boyer 2018-12-20 07:46:16 -05:00
parent 5302c42333
commit 662f6f2711

View File

@ -265,9 +265,6 @@ rm -f ctefx.bin ctspeq.bin
# Remove the check_whence.py file # Remove the check_whence.py file
rm -f check_whence.py rm -f check_whence.py
# Temp fix while I workout why the rpm globbing breaks for a space
rm -f brcm/brcmfmac43430a0-sdio.ONDA-V80*
%install %install
mkdir -p %{buildroot}/%{_firmwarepath} mkdir -p %{buildroot}/%{_firmwarepath}
mkdir -p %{buildroot}/%{_firmwarepath}/updates mkdir -p %{buildroot}/%{_firmwarepath}/updates
@ -287,6 +284,7 @@ sed -i -e '/^iwlwifi/d' \
-i -e '/^mrvl\/sd8787/d' \ -i -e '/^mrvl\/sd8787/d' \
linux-firmware.files linux-firmware.files
sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs} sed -i -e 's!^!/usr/lib/firmware/!' linux-firmware.{files,dirs}
sed -i -e 's/^/"/;s/$/"/' linux-firmware.files
sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files