From 8bb8f3c9174dfa48eaf95911e0617ae2a0529dfc Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Thu, 8 Jun 2017 15:25:30 +0200 Subject: [PATCH] rpm: Add Fedora 25 build 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 fc5fbf749e..eae9b5dede 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -126,6 +126,8 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_fc18:%define fc18 1} %define fc22 0 %{?build_fc22:%define fc22 1} +%define fc25 0 +%{?build_fc25:%define fc25 1} # RedHat Enterprise builds %define rhel3 0 %{?build_rhel3:%define rhel3 1} @@ -202,7 +204,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22} || %{centos7} +%if %{rhel7} || %{fc22}|| %{fc25} || %{centos7} %define usesystemd 1 %endif @@ -221,7 +223,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define rhat 1 %endif %define fed 0 -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} %define fed 1 %endif %define suse 0 @@ -284,7 +286,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos7} || %{centos6} -- 2.39.5