From 0365b30f9941fafe47fe7291c8665fb8e750d4f3 Mon Sep 17 00:00:00 2001
From: Noah Hilverling <noah.hilverling@icinga.com>
Date: Fri, 13 Mar 2020 14:26:55 +0100
Subject: [PATCH] Release 2.12.0-rc1-1

---
 icinga2.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/icinga2.spec b/icinga2.spec
index 4f0b064..521307a 100644
--- a/icinga2.spec
+++ b/icinga2.spec
@@ -1,6 +1,7 @@
 # Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
 
-%define revision 1
+%global revision 0.rc1.1
+%global src_version_suffix -rc1
 
 # make sure that _rundir is working on older systems
 %if ! %{defined _rundir}
@@ -97,10 +98,10 @@ License:        GPLv2+
 %endif # suse
 Group:          System/Monitoring
 Name:           icinga2
-Version:        2.11.2
+Version:        2.12.0
 Release:        %{revision}%{?dist}
 Url:            https://www.icinga.com/
-Source:         https://github.com/Icinga/%{name}/archive/v%{version}.tar.gz
+Source:         https://github.com/Icinga/%{name}/archive/v%{version}%{?src_version_suffix}.tar.gz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       %{name}-bin = %{version}-%{release}
@@ -334,7 +335,7 @@ Requires:       nano
 Provides Nano syntax highlighting for icinga2.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q -n %{name}-%{version}%{?src_version_suffix}
 # use absolute shebang instead of env on SUSE distributions
 %if "%{_vendor}" == "suse"
 find . -type f -name '*.sh' -exec sed -i -e 's|\/usr\/bin\/env bash|\/bin\/bash|g' {} \;
@@ -832,6 +833,9 @@ fi
 %{_datadir}/nano/%{name}.nanorc
 
 %changelog
+* Fri Mar 13 2020 Noah Hilverling <noah.hilverling@icinga.com> 2.12.0-0.rc1.1
+- Update to 2.12.0-rc1
+
 * Thu Oct 24 2019 Michael Friedrich <michael.friedrich@icinga.com> 2.11.2-1
 - Update to 2.11.2
 
-- 
GitLab