From 018dad407695dffe703dc371dc47d5faad6c6e53 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 3 Jun 2021 21:35:04 +0200 Subject: [PATCH] use only tag based version for download --- alsa-sof-firmware.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/alsa-sof-firmware.spec b/alsa-sof-firmware.spec index 0188197..e61e51b 100644 --- a/alsa-sof-firmware.spec +++ b/alsa-sof-firmware.spec @@ -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