summaryrefslogtreecommitdiffstats
path: root/misc/bcfg2-selinux.spec
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bcfg2-selinux.spec')
-rw-r--r--misc/bcfg2-selinux.spec8
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