use only tag based version for download
This commit is contained in:
parent
cb81fb2179
commit
018dad4076
@ -4,8 +4,6 @@
|
|||||||
%global _firmwarepath /usr/lib/firmware
|
%global _firmwarepath /usr/lib/firmware
|
||||||
|
|
||||||
%global sof_version 1.7
|
%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
|
%global tplg_version 1.2.4
|
||||||
|
|
||||||
@ -16,7 +14,7 @@ Release: 1%{?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
|
||||||
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 >= %{tplg_version}
|
||||||
BuildRequires: alsa-topology-utils >= %{tplg_version}
|
BuildRequires: alsa-topology-utils >= %{tplg_version}
|
||||||
Conflicts: alsa-firmware <= 1.2.1-6
|
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.
|
This package contains the debug files for the Sound Open Firmware project.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sof-bin-%{sof_commit}
|
%autosetup -n sof-bin-%{sof_version}
|
||||||
|
|
||||||
mkdir -p firmware/intel/sof
|
mkdir -p firmware/intel/sof
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user