aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-02 08:25:17 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-02 08:25:17 +0000
commit657d334f97f6915e65beb9c9b0b1355a8440771b (patch)
tree120bbb4d7441b8b6daf062cbf3fc8272e6879a98
parentc1f48fcb940b45d45405f3da64a5a14bb1a662d0 (diff)
downloadnumlock-657d334f97f6915e65beb9c9b0b1355a8440771b.tar
numlock-657d334f97f6915e65beb9c9b0b1355a8440771b.tar.gz
numlock-657d334f97f6915e65beb9c9b0b1355a8440771b.tar.bz2
numlock-657d334f97f6915e65beb9c9b0b1355a8440771b.tar.xz
numlock-657d334f97f6915e65beb9c9b0b1355a8440771b.zip
don't copy source to undefined $(RPM), use rpm -ta
-rw-r--r--Makefile7
1 files 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