diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-11-07 08:02:49 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-11-07 08:02:49 -0600 |
commit | 65538080dd26cb7c969a0a545e1e61ded18cc152 (patch) | |
tree | 135e7b169e2357762538831a98af70b7b4d52bc5 /misc | |
parent | 2b832ea079168e565779a7556f56c0abe4dafefd (diff) | |
download | bcfg2-65538080dd26cb7c969a0a545e1e61ded18cc152.tar.gz bcfg2-65538080dd26cb7c969a0a545e1e61ded18cc152.tar.bz2 bcfg2-65538080dd26cb7c969a0a545e1e61ded18cc152.zip |
bcfg2-selinux: Add pre/rc magic
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bcfg2-selinux.spec | 8 |
1 files changed, 8 insertions, 0 deletions
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 <hash><percent> +# 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 |