From f02517fdd3bda7de5099506d32c4cf29339054db Mon Sep 17 00:00:00 2001 From: Rawleenc Date: Sat, 3 May 2025 02:04:43 +0200 Subject: [PATCH] build: avoid removing rpmbuild dir each times --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4eee021..2ed1e31 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,7 @@ format: cargo fmt --all rpm: - rm -rf $(HOME)/rpmbuild - rpmdev-setuptree + rm -f $(HOME)/rpmbuild/SOURCES/$(PROJECT)-$(VERSION).tar.gz tar -czf $(HOME)/rpmbuild/SOURCES/$(PROJECT)-$(VERSION).tar.gz \ --transform "s|^|$(PROJECT)-$(VERSION)/|" \ data \