]> git.sur5r.net Git - bacula/bacula/commitdiff
rpm: Update bacula.spec for Fedora 27
authorDavide Franco <davide.franco@baculasystems.com>
Thu, 17 May 2018 09:40:36 +0000 (11:40 +0200)
committerbsbuild <tech@baculasystems.com>
Thu, 17 May 2018 09:40:36 +0000 (11:40 +0200)
bacula/platforms/rpms/redhat/bacula.spec.in

index cb2e315b47690e8e0085eedb65e9e2694a7b6d6f..e11daab4b66ed9705b351fd7b19c8b317612a212 100644 (file)
@@ -130,6 +130,8 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz
 %{?build_fc25:%define fc25 1}
 %define fc26 0
 %{?build_fc26:%define fc26 1}
 %{?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}
 # 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 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
 
 %define usesystemd 1
 %endif
 
@@ -225,7 +227,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz
 %define rhat 1
 %endif
 %define fed 0
 %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
 %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
 %{?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}
 %define _dist %(grep Fedora /etc/redhat-release)
 %endif
 %if %{centos7} || %{centos6}