From: Davide Franco Date: Fri, 31 May 2019 09:43:26 +0000 (+0200) Subject: rpms: Add Fedora 28 and 29 to bacula.spec X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b0ddc58e060f5439161ecc0369b7ef907027b0c;p=thirdparty%2Fbacula.git rpms: Add Fedora 28 and 29 to bacula.spec --- diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index 49fcf559b..95d7a06e1 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -132,6 +132,10 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %{?build_fc26:%define fc26 1} %define fc27 0 %{?build_fc27:%define fc27 1} +%define fc28 0 +%{?build_fc28:%define fc28 1} +%define fc29 0 +%{?build_fc29:%define fc29 1} # RedHat Enterprise builds %define rhel3 0 %{?build_rhel3:%define rhel3 1} @@ -208,7 +212,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{fc27} || %{centos7} +%if %{rhel7} || %{fc22}|| %{fc25} || %{fc26} || %{fc27} || %{fc28} || %{fc29} || %{centos7} %define usesystemd 1 %endif @@ -227,7 +231,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz %define rhat 1 %endif %define fed 0 -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} || %{fc28 || %{fc29} %define fed 1 %endif %define suse 0 @@ -290,7 +294,7 @@ exit 1 %{?build_x86_64:%define x86_64 1} # check what distribution we are -%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} +%if %{fc16} || %{fc17} || %{fc18} || %{fc22} || %{fc25} || %{fc26} || %{fc27} || %{fc28} || %{fc29} %define _dist %(grep Fedora /etc/redhat-release) %endif %if %{centos7} || %{centos6}