summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorw.otsuka <w.otsuka>2005-10-31 18:29:44 +0000
committerw.otsuka <w.otsuka>2005-10-31 18:29:44 +0000
commitd3c32cb697f134179c74ac7a2254ea97e9cbf54e (patch)
treec0b0178abb4bcd9182523c7766d012e9a07682dd /Makefile.Release
parent1e60213aad5486d8810b01d5a45f922cbd0ced05 (diff)
downloadtog-pegasus-d3c32cb697f134179c74ac7a2254ea97e9cbf54e.zip
tog-pegasus-d3c32cb697f134179c74ac7a2254ea97e9cbf54e.tar.gz
tog-pegasus-d3c32cb697f134179c74ac7a2254ea97e9cbf54e.tar.xz
BUG#: 4261
TITLE:rpm name does not include linux distro DESCRIPTION: Modified tog-pegasus spec file to use --define 'LINUX_VERSION distro'.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.Release b/Makefile.Release
index e029a32..d45a8cf 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -751,7 +751,7 @@ _append_OpenPegasusLicenseToSpecFile: FORCE
_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) "Release: 1%{?LINUX_VERSION:.%{LINUX_VERSION}}" >> $(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)