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/bcfg2-selinux.spec') 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 From 7838d063e33246ec21cf58060ced35e3771b5e82 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Thu, 7 Nov 2013 08:09:57 -0600 Subject: Version bump to 1.3.3 Signed-off-by: Sol Jerome --- misc/bcfg2-selinux.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'misc/bcfg2-selinux.spec') diff --git a/misc/bcfg2-selinux.spec b/misc/bcfg2-selinux.spec index a0209516a..d694783b5 100644 --- a/misc/bcfg2-selinux.spec +++ b/misc/bcfg2-selinux.spec @@ -16,8 +16,8 @@ %global _pre_rc %{?_pre:.pre%{_pre}}%{?_rc:.rc%{_rc}} Name: bcfg2-selinux -Version: 1.3.2 -Release: 1 +Version: 1.3.3 +Release: 1%{?_pre_rc}%{?dist} Summary: Bcfg2 Client and Server SELinux policy %if 0%{?suse_version} @@ -73,7 +73,7 @@ deployment strategies. This package includes the Bcfg2 server and client SELinux policy. %prep -%setup -q -n %{name}-%{version} +%setup -q -n %{name}-%{version}%{?_pre_rc} %build cd redhat/selinux @@ -128,6 +128,9 @@ if [ $1 -eq 0 ] ; then fi %changelog +* Thu Nov 07 2013 Sol Jerome 1.3.3-1 +- New upstream release + * Mon Jul 01 2013 Sol Jerome 1.3.2-1 - New upstream release -- cgit v1.2.3-1-g7c22