From 59535a4e881c5e0e0d58407f6bf1485988cd4511 Mon Sep 17 00:00:00 2001 From: lilong Date: Wed, 24 Jan 2024 15:19:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drpm=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=9C=A8=E9=9D=9Ex86=5F64=E5=B9=B3=E5=8F=B0=E6=8B=B7=E8=B4=9D?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef53305..8404322 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,8 @@ endif DEBUILD_ROOT = /tmp/pgloader +ARCH = $(shell uname -m) + all: $(PGLOADER) clean: @@ -217,7 +219,7 @@ rpm: cd /tmp && tar czf $(HOME)/rpmbuild/SOURCES/pgloader-$(VERSION).tar.gz pgloader cd $(DEBUILD_ROOT) && rpmbuild -ba pgloader.spec cp -a $(HOME)/rpmbuild/SRPMS/*rpm build - cp -a $(HOME)/rpmbuild/RPMS/x86_64/*rpm build + cp -a $(HOME)/rpmbuild/RPMS/$(ARCH)/*rpm build pkg: # intended for use on a MacOSX system -- Gitee