From f81718c563ea12240e161a807013acd2d6eb1f2e Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Sun, 30 Sep 2012 12:21:46 -0500 Subject: Using RPM version number in CMake. The RPM spec files have been modified to pass the full RPM version number to CMake. The version number contains the product version number, release number, milestone, and platform. The CMake scritps will parse and use this version number to generate Java manifest files. The product version number will be used as the specification version and full version number will be used as the implementation version. Ticket #339 --- base/common/src/pki-certsrv.mf | 3 ++- base/common/src/pki-cms.mf | 3 ++- base/common/src/pki-cmsbundle.mf | 3 ++- base/common/src/pki-cmscore.mf | 3 ++- base/common/src/pki-tomcat.mf | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) (limited to 'base/common/src') diff --git a/base/common/src/pki-certsrv.mf b/base/common/src/pki-certsrv.mf index fe2ed1ffe..0614e4d8c 100644 --- a/base/common/src/pki-certsrv.mf +++ b/base/common/src/pki-certsrv.mf @@ -1,2 +1,3 @@ Name: pki-certsrv -Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file +Specification-Version: ${APPLICATION_VERSION} +Implementation-Version: ${VERSION} diff --git a/base/common/src/pki-cms.mf b/base/common/src/pki-cms.mf index 2c6f8010f..4810f3fb0 100644 --- a/base/common/src/pki-cms.mf +++ b/base/common/src/pki-cms.mf @@ -1,2 +1,3 @@ Name: pki-cms -Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file +Specification-Version: ${APPLICATION_VERSION} +Implementation-Version: ${VERSION} diff --git a/base/common/src/pki-cmsbundle.mf b/base/common/src/pki-cmsbundle.mf index 84d6f0e7a..ee384386e 100644 --- a/base/common/src/pki-cmsbundle.mf +++ b/base/common/src/pki-cmsbundle.mf @@ -1,2 +1,3 @@ Name: pki-cmsbundle -Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file +Specification-Version: ${APPLICATION_VERSION} +Implementation-Version: ${VERSION} diff --git a/base/common/src/pki-cmscore.mf b/base/common/src/pki-cmscore.mf index 1b1a03f50..c23d7b299 100644 --- a/base/common/src/pki-cmscore.mf +++ b/base/common/src/pki-cmscore.mf @@ -1,2 +1,3 @@ Name: pki-cmscore -Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file +Specification-Version: ${APPLICATION_VERSION} +Implementation-Version: ${VERSION} diff --git a/base/common/src/pki-tomcat.mf b/base/common/src/pki-tomcat.mf index a6e4889b8..ca8d3bf1b 100644 --- a/base/common/src/pki-tomcat.mf +++ b/base/common/src/pki-tomcat.mf @@ -1,2 +1,3 @@ Name: pki-tomcat -Implementation-Version: ${APPLICATION_VERSION} \ No newline at end of file +Specification-Version: ${APPLICATION_VERSION} +Implementation-Version: ${VERSION} -- cgit