From fa1665c4ceefa6bc1601d7587871dc4daf27cfe4 Mon Sep 17 00:00:00 2001 From: Harel Ben-Attia Date: Sat, 30 Nov 2019 18:16:54 +0200 Subject: fix rpm/deb to use binary executable instead of python source --- dist/create-rpm | 4 ++-- dist/q-text-as-data.spec.template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'dist') diff --git a/dist/create-rpm b/dist/create-rpm index e0f00a0..753da2d 100755 --- a/dist/create-rpm +++ b/dist/create-rpm @@ -43,8 +43,8 @@ mkdir -p ${rpm_build_area}/SOURCES pushd ${rpm_build_area}/SOURCES >/dev/null tar xvzf ./q.tar.gz --strip-components=1 rm -vf ./q.tar.gz -wget -q -o ./q "https://github.com/harelba/q/releases/download/${VERSION}/q-x86_64-Linux" -chmod +x ./q +curl -R -L -o ./bin/q "https://github.com/harelba/q/releases/download/${VERSION}/q-x86_64-Linux" +chmod +x ./bin/q popd >/dev/null find ${rpm_build_area}/ -ls diff --git a/dist/q-text-as-data.spec.template b/dist/q-text-as-data.spec.template index ad3d0c2..8512aa2 100644 --- a/dist/q-text-as-data.spec.template +++ b/dist/q-text-as-data.spec.template @@ -10,7 +10,7 @@ Summary: q - Text as Data Group: Applications/Text License: GPLv3 URL: https://github.com/harelba/q -BuildArch: noarch +BuildArch: x86_64 %description q allows to perform SQL-like statements on tabular text data. -- cgit v1.2.3