diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 09:13:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-10 09:13:20 +0000 |
commit | 6dac84d06bc33c54ac9678b03d0fb567d2453d1a (patch) | |
tree | 35bd2fdd1d7ca7f35997f558fa54a8e401a731d8 | |
parent | d3c0258e424f5ab11fa30bc4372dc018418bac70 (diff) | |
download | userdrake-6dac84d06bc33c54ac9678b03d0fb567d2453d1a.tar userdrake-6dac84d06bc33c54ac9678b03d0fb567d2453d1a.tar.gz userdrake-6dac84d06bc33c54ac9678b03d0fb567d2453d1a.tar.bz2 userdrake-6dac84d06bc33c54ac9678b03d0fb567d2453d1a.tar.xz userdrake-6dac84d06bc33c54ac9678b03d0fb567d2453d1a.zip |
add srpm target
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |