summaryrefslogtreecommitdiffstats
path: root/specs/pki-ra.spec
diff options
context:
space:
mode:
Diffstat (limited to 'specs/pki-ra.spec')
-rw-r--r--specs/pki-ra.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/specs/pki-ra.spec b/specs/pki-ra.spec
index 5d5315538..c6debdacc 100644
--- a/specs/pki-ra.spec
+++ b/specs/pki-ra.spec
@@ -7,7 +7,7 @@
Name: pki-ra
Version: 10.0.0
-Release: %{?relprefix}7%{?prerel}%{?dist}
+Release: %{?relprefix}8%{?prerel}%{?dist}
Summary: Certificate System - Registration Authority
URL: http://pki.fedoraproject.org/
License: GPLv2
@@ -111,8 +111,11 @@ chmod +x %{__perl_requires}
%build
%{__mkdir_p} build
cd build
-%cmake -DVAR_INSTALL_DIR:PATH=/var -DBUILD_PKI_RA:BOOL=ON .. \
- -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir}
+%cmake -DVERSION=%{version}-%{release} \
+ -DVAR_INSTALL_DIR:PATH=/var \
+ -DBUILD_PKI_RA:BOOL=ON \
+ -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} \
+ ..
%{__make} VERBOSE=1 %{?_smp_mflags}
@@ -245,6 +248,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