update to latest v1.6 (Dec 9)

This commit is contained in:
Jaroslav Kysela 2020-12-10 17:43:23 +01:00
parent e72f339e1c
commit 6b47dc50d0

View File

@ -5,13 +5,13 @@
%global sof_version 1.6 %global sof_version 1.6
%global sof_commit da8cb04cbd2f6031a2465794282f103ec83f15fe %global sof_commit faa5bdc276651f3f8b7c77612fff770bd778987b
%global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7}) %global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7})
Summary: Firmware and topology files for Sound Open Firmware project Summary: Firmware and topology files for Sound Open Firmware project
Name: alsa-sof-firmware Name: alsa-sof-firmware
Version: %{sof_version} Version: %{sof_version}
Release: 3%{?dist} Release: 4%{?dist}
# See later in the spec for a breakdown of licensing # See later in the spec for a breakdown of licensing
License: BSD License: BSD
URL: https://github.com/thesofproject/sof-bin URL: https://github.com/thesofproject/sof-bin
@ -38,37 +38,39 @@ This package contains the debug files for the Sound Open Firmware project.
cd lib/firmware cd lib/firmware
# we have the version in the package name # we have the version in the package name
mv intel/sof/%{sof_version}/* intel/sof mv intel/sof/v%{sof_version}/* intel/sof
rmdir intel/sof/%{sof_version} rmdir intel/sof/v%{sof_version}
# rename intel signed firmware files # rename intel signed firmware files
for platform in apl cnl icl tgl; do for platform in apl cnl ehl icl tgl; do
mv intel/sof/intel-signed/sof-$platform-%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri mv intel/sof/intel-signed/sof-$platform-v%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri
ln -sf intel-signed/sof-$platform.ri intel/sof/sof-$platform.ri ln -sf intel-signed/sof-$platform.ri intel/sof/sof-$platform.ri
done done
# rename public signed firmware files # rename public signed firmware files
for platform in apl cnl icl tgl; do for platform in apl cnl icl jsl tgl; do
mv intel/sof/public-signed/sof-$platform-%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri mv intel/sof/public-signed/sof-$platform-v%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri
done done
# rename unsigned firmware files # rename unsigned firmware files
for platform in bdw byt cht; do for platform in bdw byt cht; do
mv intel/sof/sof-$platform-%{sof_version}.ri intel/sof/sof-$platform.ri mv intel/sof/sof-$platform-v%{sof_version}.ri intel/sof/sof-$platform.ri
done done
# rename debug files # rename debug files
for platform in apl bdw byt cht cnl icl tgl; do for platform in apl bdw byt cht cnl ehl icl jsl tgl; do
mv intel/sof/sof-$platform-%{sof_version}.ldc intel/sof/sof-$platform.ldc mv intel/sof/sof-$platform-v%{sof_version}.ldc intel/sof/sof-$platform.ldc
done done
# add missing symlink # add missing symlinks
ln -s public-signed/sof-jsl.ri intel/sof/sof-jsl.ri
ln -s intel-signed/sof-apl.ri intel/sof/sof-glk.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cml.ri ln -s intel-signed/sof-cnl.ri intel/sof/sof-cml.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cfl.ri ln -s intel-signed/sof-cnl.ri intel/sof/sof-cfl.ri
# move topology files # move topology files
rm -f intel/sof-tplg rm -f intel/sof-tplg
mv intel/sof-tplg-%{sof_version} intel/sof-tplg mv intel/sof-tplg-v%{sof_version} intel/sof-tplg
# remove NXP firmware files # remove NXP firmware files
rm -rf nxp ../../LICENCE.NXP rm -rf nxp ../../LICENCE.NXP
@ -115,7 +117,10 @@ if st and st.type == "link" then
end end
%changelog %changelog
* Wed Oct 14 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-3 * Thu Dec 10 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-4
- Update to v1.6 (Dec 9)
* Thu Nov 19 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-3
- Update to v1.6 (Nov 19) - Update to v1.6 (Nov 19)
* Wed Oct 14 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-1 * Wed Oct 14 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-1