From: Davide Franco Date: Thu, 17 May 2018 09:40:36 +0000 (+0200) Subject: rpm: Update bacula.spec for Fedora 27 X-Git-Tag: Release-9.0.8~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e9ee32067608861c434f73207b1b7de80a0fc26;p=bacula%2Fbacula rpm: Update bacula.spec for Fedora 27 --- diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index cb2e315b47..e11daab4b6 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -130,6 +130,8 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_fc25:%define fc25 1} %define fc26 0 %{?build_fc26:%define fc26 1} +%define fc27 0 +%{?build_fc27:%define fc27 1} # RedHat Enterprise builds %define rhel3 0 %{?build_rhel3:%define rhel3 1} @@ -206,7 +208,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{centos7} +%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{fc27} || %{centos7} %define usesystemd 1 %endif @@ -225,7 +227,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define rhat 1 %endif %define fed 0 -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} %define fed 1 %endif %define suse 0 @@ -288,7 +290,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos7} || %{centos6}