[PATCH] Add a test-srpm target to the Makefile.

Jeffrey C. Ollie jeff at ocjtech.us
Tue Feb 17 17:53:59 UTC 2009


---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 7432f31..51196ea 100644
--- a/Makefile
+++ b/Makefile
@@ -81,6 +81,9 @@ tarball: clean
 srpm: tarball
 	$(RPM_WITH_DIRS) $(DIST_DEFINES) -bs $(SPECFILE)
 
+test-srpm: tarball
+	$(RPM_WITH_DIRS) $(DIST_DEFINES) --define "testbuild 1" -bs $(SPECFILE)
+
 rpm: tarball
 	$(RPM_WITH_DIRS) $(DIST_DEFINES) -bb $(SPECFILE)
 
-- 
1.6.1.2




More information about the Fedora-buildsys-list mailing list