From 65538080dd26cb7c969a0a545e1e61ded18cc152 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Thu, 7 Nov 2013 08:02:49 -0600 Subject: bcfg2-selinux: Add pre/rc magic Signed-off-by: Sol Jerome --- misc/bcfg2-selinux.spec | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'misc') diff --git a/misc/bcfg2-selinux.spec b/misc/bcfg2-selinux.spec index fa70d2c42..a0209516a 100644 --- a/misc/bcfg2-selinux.spec +++ b/misc/bcfg2-selinux.spec @@ -7,6 +7,14 @@ %global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null) %global selinux_variants %([ -z "%{selinux_types}" ] && echo mls strict targeted || echo %{selinux_types}) +# For -pre or -rc releases, remove the initial +# characters from the appropriate line below. +# +# Don't forget to change the Release: tag below to something like 0.1 +#%%global _rc 1 +#%%global _pre 2 +%global _pre_rc %{?_pre:.pre%{_pre}}%{?_rc:.rc%{_rc}} + Name: bcfg2-selinux Version: 1.3.2 Release: 1 -- cgit v1.2.3-1-g7c22