commit a4117412753c882fd6e5c15b596f090aa6f4b76c
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Fri Oct 30 14:39:02 2020 +0100
Add missing libKeyFinder sources
.gitignore | 1 +
mixxx.spec | 8 +++++---
sources | 2 +-
3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ff044b1..3274195 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
# these large binary files are placed in `rpmbuild/SOURCES` and never
# end up in the project directory.
*.tar.gz
+*.zip
diff --git a/mixxx.spec b/mixxx.spec
index 410c87c..6ece1a8 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -29,7 +29,7 @@ Summary: Mixxx is open source software for DJ'ing
License: GPLv2+
URL:
http://www.mixxx.org
Source0:
https://github.com/mixxxdj/%{name}/archive/%{sources}/%{name}-%{sources}....
-Source1:
https://github.com/ibsh/libKeyFinder/archive/v2.2.2.zip
+Source1:
https://github.com/ibsh/libKeyFinder/archive/v2.2.2.zip#/libKeyFinder_v2....
# Build Tools
BuildRequires: desktop-file-utils
@@ -102,8 +102,10 @@ echo "#pragma once" > src/build.h
%endif
# Copy the libKeyFinder source archive into the download folder
-mkdir -p %{_target_platform}/download/libKeyFinder
-cp %{SOURCE1} %{_target_platform}/download/libKeyFinder/
+# of the build directory. Rename the archive back into the
+# original name with only a version number
+mkdir -p %{__cmake_builddir}/download/libKeyFinder
+cp %{SOURCE1} %{__cmake_builddir}/download/libKeyFinder/v2.2.2.zip
%build
diff --git a/sources b/sources
index f7561f4..f56d1fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mixxx-ac834c60888ce35b7e247ab1c3e46c15d2256270.tar.gz) =
0e070e94dcb1f6a62c31e62eb9df084f0d97b33d0dec08a4a4851bf9fd6bb1ef8bde015403a917802ebc83a64ff6d0347b2e7f9523f509488d1048a560058d2d
+SHA512 (libKeyFinder_v2.2.2.zip) =
4c8745ebcda65c7bbe00016e53b813e704eff1ca7262868a91359f51979b84e43492993cfc7b02ecd8142ded15a7c3ec64751234cb06fa5b27b7695f9937110b