From a7665a453511ec9b861d605d4323bd94f4b8137f Mon Sep 17 00:00:00 2001 From: Gleb Chesnokov Date: Tue, 10 Jan 2023 12:12:16 +0300 Subject: [PATCH] Makefile: Delete the source code archive after building the scst-dkms-rpm packages --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index acd2415d7..c22f60251 100644 --- a/Makefile +++ b/Makefile @@ -352,7 +352,7 @@ scst-rpm: $(if $(KDIR),--define="%kdir $(KDIR)") \ --define="%pkg_build_mode $(PKG_BUILD_MODE)" \ -ba $${name}.spec && \ - rm -f $${name}-$(VERSION).tar.bz2 + rm -f scst-$(VERSION).tar.bz2 scst-dkms-rpm: name=scst-dkms && \ @@ -369,7 +369,7 @@ scst-dkms-rpm: $(if $(KDIR),--define="%kdir $(KDIR)") \ --define="%pkg_build_mode $(PKG_BUILD_MODE)" \ -ba $${name}.spec && \ - rm -f $${name}-$(VERSION).tar.bz2 + rm -f scst-$(VERSION).tar.bz2 rpm: $(MAKE) scst-rpm