From 5a88ee9ab9dde909bb4946c5f99790cc96c310f7 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 19 Jan 2018 11:17:09 +0100 Subject: [PATCH 1/1] rpm: Add Fedora26-64 platform --- bacula/platforms/rpms/redhat/bacula.spec.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index d4a4797960..cb2e315b47 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -128,6 +128,8 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_fc22:%define fc22 1} %define fc25 0 %{?build_fc25:%define fc25 1} +%define fc26 0 +%{?build_fc26:%define fc26 1} # RedHat Enterprise builds %define rhel3 0 %{?build_rhel3:%define rhel3 1} @@ -204,7 +206,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22}|| %{fc25} || %{centos7} +%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{centos7} %define usesystemd 1 %endif @@ -223,7 +225,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define rhat 1 %endif %define fed 0 -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} %define fed 1 %endif %define suse 0 @@ -286,7 +288,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos7} || %{centos6} -- 2.39.2