diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-09-30 12:21:46 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-10-01 14:15:44 -0400 |
commit | f81718c563ea12240e161a807013acd2d6eb1f2e (patch) | |
tree | 2aa664ed414086ac0a19c7eb6b0ac9e3a57af256 /specs/pki-tps.spec | |
parent | aa1c7e757ee01759cb08f3dd5d0556cfe2ef8e32 (diff) | |
download | pki-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-tps.spec')
-rw-r--r-- | specs/pki-tps.spec | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/specs/pki-tps.spec b/specs/pki-tps.spec index 967d2d9ab..b5d811f5b 100644 --- a/specs/pki-tps.spec +++ b/specs/pki-tps.spec @@ -7,7 +7,7 @@ Name: pki-tps Version: 10.0.0 -Release: %{?relprefix}7%{?prerel}%{?dist} +Release: %{?relprefix}8%{?prerel}%{?dist} Summary: Certificate System - Token Processing System URL: http://pki.fedoraproject.org/ License: LGPLv2 @@ -134,8 +134,11 @@ chmod +x %{__perl_requires} %build %{__mkdir_p} build cd build -%cmake -DVAR_INSTALL_DIR:PATH=/var -DBUILD_PKI_TPS:BOOL=ON .. \ - -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} +%cmake -DVERSION=%{version}-%{release} \ + -DVAR_INSTALL_DIR:PATH=/var \ + -DBUILD_PKI_TPS:BOOL=ON \ + -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} \ + .. %{__make} VERBOSE=1 %{?_smp_mflags} @@ -280,6 +283,9 @@ fi %changelog +* Sun Sep 30 2012 Endi S. Dewata <edewata@redhat.com> 10.0.0-0.8.a1 +- Modified CMake to use RPM version number + * Mon Sep 24 2012 Endi S. Dewata <edewata@redhat.com> 10.0.0-0.7.a1 - Merged pki-setup into pki-server |