use only tag based version for download

This commit is contained in:
Jaroslav Kysela 2021-06-03 21:35:04 +02:00
parent cb81fb2179
commit 018dad4076

View File

@ -4,8 +4,6 @@
%global _firmwarepath /usr/lib/firmware
%global sof_version 1.7
%global sof_commit 6bd5501e6ac3f29dde42a28ffe03a2942aa60640
%global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7})
%global tplg_version 1.2.4
@ -16,7 +14,7 @@ Release: 1%{?dist}
# See later in the spec for a breakdown of licensing
License: BSD
URL: https://github.com/thesofproject/sof-bin
Source: https://github.com/thesofproject/sof-bin/archive/%{sof_commit}/sof-bin-%{sof_shortcommit}.tar.gz
Source: https://github.com/thesofproject/sof-bin/archive/v%{sof_version}/sof-bin-%{sof_version}.tar.gz
BuildRequires: alsa-topology >= %{tplg_version}
BuildRequires: alsa-topology-utils >= %{tplg_version}
Conflicts: alsa-firmware <= 1.2.1-6
@ -36,7 +34,7 @@ License: BSD
This package contains the debug files for the Sound Open Firmware project.
%prep
%autosetup -n sof-bin-%{sof_commit}
%autosetup -n sof-bin-%{sof_version}
mkdir -p firmware/intel/sof