From 657d334f97f6915e65beb9c9b0b1355a8440771b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Jan 2006 08:25:17 +0000 Subject: don't copy source to undefined $(RPM), use rpm -ta --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a09fa7a..8fe18c6 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,6 @@ dis: chmod 644 ../$(NAME)-$(VERSION).tar.bz2 rm -rf $(NAME)-$(VERSION) -rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) - cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES - chmod 644 $(NAME).spec - cp -f $(NAME).spec $(RPM)/SPECS/ - -rpm -ba --clean --rmsource $(NAME).spec +rpm: dis ../$(NAME)-$(VERSION).tar.bz2 + rpm -ta ../$(NAME)-$(VERSION).tar.bz2 rm -f ../$(NAME)-$(VERSION).tar.bz2 -- cgit v1.2.1