From 6dac84d06bc33c54ac9678b03d0fb567d2453d1a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 10 Jul 2003 09:13:20 +0000 Subject: add srpm target --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f78073..d965079 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,11 @@ dis: clean bzip2 -9f ../$(NAME)-$(VERSION).tar rm -rf $(NAME)-$(VERSION) -rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) +srpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES cp -f $(NAME).spec $(RPM)/SPECS/ - rpm -ba --clean --rmsource $(NAME).spec rm -f ../$(NAME)-$(VERSION).tar.bz2 + rpm -bs $(NAME).spec + +rpm: srpm + rpm -bb --clean --rmsource $(NAME).spec -- cgit v1.2.1