From: Davide Franco Date: Fri, 19 Jan 2018 10:17:09 +0000 (+0100) Subject: rpm: Add Fedora26-64 platform X-Git-Tag: Release-9.0.7~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5a88ee9ab9dde909bb4946c5f99790cc96c310f7;p=bacula%2Fbacula rpm: Add Fedora26-64 platform --- 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}