Makefile: Add scratch build target
Sometimes you want to build an rpm without the tests and without running %check
This commit is contained in:
parent
634dcc0f25
commit
097eb9f04f
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
|
@ -230,6 +230,15 @@ rpm: $(RPM_SPECFILE) $(RPM_TARBALL)
|
|||
--with tests \
|
||||
$(RPM_SPECFILE)
|
||||
|
||||
.PHONY: scratch
|
||||
scratch: $(RPM_SPECFILE) $(RPM_TARBALL)
|
||||
rpmbuild -bb \
|
||||
--define "_topdir $(CURDIR)/rpmbuild" \
|
||||
--define "commit $(COMMIT)" \
|
||||
--without tests \
|
||||
--nocheck \
|
||||
$(RPM_SPECFILE)
|
||||
|
||||
#
|
||||
# Releasing
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue