summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorw.otsuka <w.otsuka>2005-05-27 17:29:01 +0000
committerw.otsuka <w.otsuka>2005-05-27 17:29:01 +0000
commitc680bb34f3f6d2f51719e74272f2882b59269ea8 (patch)
tree0659270ef490a8d1e71643b011decf7e8236007c /Makefile.Release
parente500e26599d2257f1a466ad13ccfb9eb0236c300 (diff)
downloadtog-pegasus-c680bb34f3f6d2f51719e74272f2882b59269ea8.zip
tog-pegasus-c680bb34f3f6d2f51719e74272f2882b59269ea8.tar.gz
tog-pegasus-c680bb34f3f6d2f51719e74272f2882b59269ea8.tar.xz
BUG#: 3683
TITLE: Default tog-pegasus rpm build should not generate test rpm DESCRIPTION: Added PEGASUS_BUILD_TEST_RPM flag for explicit rpmbuilding of the test rpm.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.Release b/Makefile.Release
index a24d865..50b79c2 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -63,7 +63,9 @@ stage: FORCE
$(MAKE) -f $(ROOT)/Makefile.Release stage_PegasusDirectories
$(MAKE) -f $(ROOT)/Makefile.Release stage_PegasusFiles
$(MAKE) -f $(ROOT)/mak/SDKMakefile stageSDK
+ifdef PEGASUS_BUILD_TEST_RPM
$(MAKE) -f $(ROOT)/Makefile.ReleaseTest stageTEST
+endif
preinstall: FORCE
$(MAKE) -f $(ROOT)/Makefile.Release prestage_verifyInstallEnabled
@@ -731,6 +733,7 @@ _append_PreambleToSpecFile: FORCE
@$(ECHO-E) "%define srcRelease 1" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "Version: $(PEGASUS_PRODUCT_VERSION)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "Release: 1" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "Epoch: 1" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "# Start of section pegasus/rpm/tog-specfiles/tog-pegasus-intro.spec" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(CAT) $(ROOT)/rpm/tog-specfiles/tog-pegasus-intro.spec >> $(PEGASUS_RPM_SPEC_FILE_PATH)