Skip to content

Commit

Permalink
fix rpm and deb build
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogmcsteezy committed May 30, 2024
1 parent dacc4ac commit 2b2928b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,9 @@ pkg-deb-amd64:
cp $(BIN_DIR)/asvec-linux-amd64 $(BIN_DIR)/asvec
rm -rf $(BIN_DIR)/deb
mkdir -p $(BIN_DIR)/deb/DEBIAN
mkdir -p $(BIN_DIR)/deb/usr/bin
mkdir -p $(BIN_DIR)/deb/usr/local/aerospike/bin
@ eval "$$amddebscript"
mv $(BIN_DIR)/asvec $(BIN_DIR)/deb/usr/bin/
mv $(BIN_DIR)/asvec $(BIN_DIR)/deb/usr/local/aerospike/bin/
sudo dpkg-deb -Zxz -b $(BIN_DIR)/deb
rm -f $(BIN_DIR)/packages/asvec-linux-amd64-${ver}.deb
mv $(BIN_DIR)/deb.deb $(BIN_DIR)/packages/asvec-linux-amd64-${ver}.deb
Expand All @@ -333,9 +333,9 @@ pkg-deb-arm64:
cp $(BIN_DIR)/asvec-linux-arm64 $(BIN_DIR)/asvec
rm -rf $(BIN_DIR)/deb
mkdir -p $(BIN_DIR)/deb/DEBIAN
mkdir -p $(BIN_DIR)/deb/usr/bin
mkdir -p $(BIN_DIR)/deb/usr/local/aerospike/bin
@ eval "$$armdebscript"
mv $(BIN_DIR)/asvec $(BIN_DIR)/deb/usr/bin/
mv $(BIN_DIR)/asvec $(BIN_DIR)/deb/usr/local/aerospike/bin/
sudo dpkg-deb -Zxz -b $(BIN_DIR)/deb
rm -f $(BIN_DIR)/packages/asvec-linux-arm64-${ver}.deb
mv $(BIN_DIR)/deb.deb $(BIN_DIR)/packages/asvec-linux-arm64-${ver}.deb
Expand Down
6 changes: 3 additions & 3 deletions bin/asvecrpm/asvec.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Buildroot: ./
Name: aerolab
Name: asvec
Version: VERSIONHERE
Release: 2
Summary: Tool for deploying non-prod Aerospike server clusters on docker or in AWS
License: see github.com/aerospike/aerolab
License: see github.com/aerospike/asvec
Group: aerospike

%define _rpmdir ./
Expand All @@ -17,4 +17,4 @@ Group: aerospike
Tool for deploying non-prod Aerospike server clusters on docker or in AWS

%files
"/usr/bin/aerolab"
"/usr/local/aerospike/bin/asvec"
2 changes: 1 addition & 1 deletion bin/asvecrpm/usr/bin/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aerolab
asvec
2 changes: 1 addition & 1 deletion bin/macos-pkg/asvec/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aerolab-*
asvec-*

0 comments on commit 2b2928b

Please sign in to comment.