From: Davide Franco Date: Thu, 8 Jun 2017 13:25:30 +0000 (+0200) Subject: rpm: Add Fedora 25 build platform X-Git-Tag: Release-7.9.4~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8bb8f3c9174dfa48eaf95911e0617ae2a0529dfc;p=bacula%2Fbacula rpm: Add Fedora 25 build platform --- 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}