summaryrefslogtreecommitdiffstats
path: root/specs/pki-migrate.spec
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-09-30 12:21:46 -0500
committerAde Lee <alee@redhat.com>2012-10-01 14:15:44 -0400
commitf81718c563ea12240e161a807013acd2d6eb1f2e (patch)
tree2aa664ed414086ac0a19c7eb6b0ac9e3a57af256 /specs/pki-migrate.spec
parentaa1c7e757ee01759cb08f3dd5d0556cfe2ef8e32 (diff)
downloadpki-f81718c563ea12240e161a807013acd2d6eb1f2e.tar.gz
pki-f81718c563ea12240e161a807013acd2d6eb1f2e.tar.xz
pki-f81718c563ea12240e161a807013acd2d6eb1f2e.zip
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
Diffstat (limited to 'specs/pki-migrate.spec')
-rw-r--r--specs/pki-migrate.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/specs/pki-migrate.spec b/specs/pki-migrate.spec
index 9047e3b2b..8334b928b 100644
--- a/specs/pki-migrate.spec
+++ b/specs/pki-migrate.spec
@@ -7,7 +7,7 @@
Name: pki-migrate
Version: 10.0.0
-Release: %{?relprefix}1%{?prerel}%{?dist}
+Release: %{?relprefix}2%{?prerel}%{?dist}
Summary: Red Hat Certificate System - PKI Migration Scripts
URL: http://pki.fedoraproject.org/
License: GPLv2
@@ -57,7 +57,10 @@ hardware platforms as well as earlier versions of this operating system.
%build
%{__mkdir_p} build
cd build
-%cmake -DVAR_INSTALL_DIR:PATH=/var -DBUILD_PKI_MIGRATE:BOOL=ON ..
+%cmake -DVERSION=%{version}-%{release} \
+ -DVAR_INSTALL_DIR:PATH=/var \
+ -DBUILD_PKI_MIGRATE:BOOL=ON \
+ ..
%{__make} VERBOSE=1 %{?_smp_mflags}
@@ -75,6 +78,9 @@ cd build
%changelog
+* Sun Sep 30 2012 Endi S. Dewata <edewata@redhat.com> 10.0.0-0.2.a1
+- Modified CMake to use RPM version number
+
* Wed Feb 1 2012 Nathan Kinder <nkinder@redhat.com> 10.0.0-0.1.a1
- Updated package version number