Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sof-firmware for openSUSE:Factory 
checked in at 2023-10-10 20:52:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sof-firmware (Old)
 and      /work/SRC/openSUSE:Factory/.sof-firmware.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sof-firmware"

Tue Oct 10 20:52:02 2023 rev:23 rq:1116465 version:2023.09

Changes:
--------
--- /work/SRC/openSUSE:Factory/sof-firmware/sof-firmware.changes        
2023-07-24 18:11:49.973164223 +0200
+++ /work/SRC/openSUSE:Factory/.sof-firmware.new.28202/sof-firmware.changes     
2023-10-10 20:52:04.940209696 +0200
@@ -1,0 +2,10 @@
+Mon Oct  9 12:18:07 UTC 2023 - Takashi Iwai <ti...@suse.com>
+
+- Update to version 2023.09 (jsc#PED-6123,jsc#PED-6114,jsc#PED-6104,
+  jsc#PED-6067,jsc#PED-6045,jsc#PED-6036):
+  it's a combined tarball with different version to support multiple
+  platforms including Metor Lake
+- Use cp instead of rsync for installation:
+  install-use-cp.patch
+
+-------------------------------------------------------------------

Old:
----
  sof-bin-v2.2.6.tar.gz

New:
----
  install-use-cp.patch
  sof-bin-2023.09.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sof-firmware.spec ++++++
--- /var/tmp/diff_new_pack.KL6ovK/_old  2023-10-10 20:52:06.288258548 +0200
+++ /var/tmp/diff_new_pack.KL6ovK/_new  2023-10-10 20:52:06.288258548 +0200
@@ -20,18 +20,16 @@
 %define _firmwaredir /lib/firmware
 %endif
 
-%define sofversion  2.2.6
-%define tplgversion 2.2.6
-
 Name:           sof-firmware
 Summary:        Firmware data files for SOF Drivers
 License:        BSD-3-Clause
 Group:          Hardware/Other
-Version:        2.2.6
+Version:        2023.09
 Release:        0
 URL:            https://www.sofproject.org/
 BuildRequires:  fdupes
-Source:         
https://github.com/thesofproject/sof-bin/releases/download/v%{sofversion}/sof-bin-v%{sofversion}.tar.gz
+Source:         
https://github.com/thesofproject/sof-bin/releases/download/v%{version}/sof-bin-%{version}.tar.gz
+Patch1:         install-use-cp.patch
 BuildArch:      noarch
 # Merrifield
 Supplements:    modalias(pci:v00008086d0000119Asv*sd*bc*sc*i*)
@@ -89,18 +87,40 @@
 Firmware data files for Sound Open Firmware (SOF) drivers.
 
 %prep
-%setup -q -n sof-bin-v%{sofversion}
+%setup -q -n sof-bin-%{version}
+%patch1 -p1
 
 %build
 
 %install
 mkdir -p %{buildroot}%{_firmwaredir}/intel
-# due to the upgrade problem, we can't make sof-v* -> sof symlink
-cp -a sof-v%{sofversion} %{buildroot}%{_firmwaredir}/intel/sof
-cp -a sof-tplg-v%{tplgversion} %{buildroot}%{_firmwaredir}/intel/
-ln -s sof-tplg-v%{tplgversion} %{buildroot}%{_firmwaredir}/intel/sof-tplg
+mkdir -p %{buildroot}%{_bindir}
+FW_DEST=%{buildroot}%{_firmwaredir}/intel \
+TOOLS_DEST=%{buildroot}%{_bindir} \
+./install.sh
+rm -rf %{buildroot}%{_bindir}
 %fdupes -s %{buildroot}
 
+# workaround for changing symlinked directory
+%pre
+if [ -L %{_firmwaredir}/intel/sof-tplg ]; then
+  f=$(readlink -f %{_firmwaredir}/intel/sof-tplg)
+  case $f in
+    %{_firmwaredir}/intel/*)
+      rm -rf $f
+      rm -f %{_firmwaredir}/intel/sof-tplg;;
+  esac
+fi
+
+%post
+%{?regenerate_initrd_post}
+
+%postun
+%{?regenerate_initrd_post}
+
+%posttrans
+%{?regenerate_initrd_posttrans}
+
 %files
 %license LICENCE.* Notice.NXP
 %doc README.*

++++++ install-use-cp.patch ++++++
---
 install.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/install.sh
+++ b/install.sh
@@ -60,8 +60,8 @@ main()
     fi
 
     # Trailing slash in srcdir/ ~= srcdir/*
-    rsync -a "${path}"/sof*"$optversuffix" "${FW_DEST}"/
-    rsync -a "${path}"/tools"$optversuffix"/ "${TOOLS_DEST}"/
+    cp -a "${path}"/sof*"$optversuffix" "${FW_DEST}"/
+    cp -a "${path}"/tools"$optversuffix"/ "${TOOLS_DEST}"/
 }
 
 die()

++++++ sof-bin-v2.2.6.tar.gz -> sof-bin-2023.09.tar.gz ++++++
++++ 1900 lines of diff (skipped)

Reply via email to