From aeae65080bfa61a8f20c61a549ec1064b29f7d2c Mon Sep 17 00:00:00 2001
From: Jacco Ligthart <jacco@redsleeve.org>
Date: Sat, 28 Nov 2015 20:55:18 +0100
Subject: [PATCH] redsleeve

---
 SOURCES/bacula-multilib.patch | 4 +++-
 SPECS/bacula.spec             | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/SOURCES/bacula-multilib.patch b/SOURCES/bacula-multilib.patch
index 9320224..8fbd473 100644
--- a/SOURCES/bacula-multilib.patch
+++ b/SOURCES/bacula-multilib.patch
@@ -2,13 +2,15 @@ diff --git a/src/host.h.in b/src/host.h.in
 index 3fdbb05..1b3e684 100644
 --- a/src/host.h.in
 +++ b/src/host.h.in
-@@ -30,7 +30,25 @@
+@@ -30,7 +30,27 @@
   *
   */
  
 -#define HOST_OS  "@host@@post_host@"
 +#if defined(__x86_64__)
 +#define HOST_OS  "x86_64-redhat-linux-gnu"
++#elif defined(__arm__)
++#define HOST_OS  "arm-redhat-linux-gnu"
 +#elif defined(__i386__)
 +#define HOST_OS  "i386-redhat-linux-gnu"
 +#elif defined(__ppc64__) || defined(__powerpc64__)
diff --git a/SPECS/bacula.spec b/SPECS/bacula.spec
index 1653442..0bba9f4 100644
--- a/SPECS/bacula.spec
+++ b/SPECS/bacula.spec
@@ -6,7 +6,7 @@
 
 Name:               bacula
 Version:            5.2.13
-Release:            23%{aarchrev}%{?dist}
+Release:            23%{aarchrev}%{?dist}.redsleeve
 Summary:            Cross platform network backup for Linux, Unix, Mac and Windows
 # See LICENSE for details
 License:            AGPLv3 with exceptions
@@ -915,6 +915,9 @@ fi
 %{_libdir}/nagios/plugins/check_bacula
 
 %changelog
+* Sat Nov 28 2015 Jacco Ligthart <jacco@redsleeve.org> 5.2.13-23.1.redsleeve
+- added arm to the multilib patch
+
 * Fri Aug 07 2015 Petr Hracek <phracek@redhat.com> - 5.2.13-23.1
 - Update SPEC file
   Related: #1195625
-- 
1.8.3.1

