From: Kern Sibbald Date: Fri, 31 Mar 2017 14:41:22 +0000 (+0200) Subject: More bacula.spec.in improvements X-Git-Tag: Release-7.9.0~59 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5caac0ac862d6bedc2777f3d765167eef60eeab;p=bacula%2Fbacula More bacula.spec.in improvements --- diff --git a/bacula/platforms/rpms/redhat/bacula.spec.in b/bacula/platforms/rpms/redhat/bacula.spec.in index b18a3b20f4..86803dce3c 100644 --- a/bacula/platforms/rpms/redhat/bacula.spec.in +++ b/bacula/platforms/rpms/redhat/bacula.spec.in @@ -208,7 +208,7 @@ Source2: Release_Notes-%{version}-%{release}.tar.gz # if the platform is using systemd %define usesystemd 0 -%if %{rhel7} || %{fc22} +%if %{rhel7} || %{fc22} || %{centos7} %define usesystemd 1 %endif @@ -387,6 +387,11 @@ BuildRequires: %{postgres_devel_package} >= %{postgres_version} %{blurb7} %{blurb8} +# +# =========================================================== +# Generate mysql, sqlite, or postgresql rpm +# =========================================================== +# %if %{mysql} %package mysql %endif @@ -460,6 +465,11 @@ This build includes python scripting support. This build includes tcp-wrappers support. %endif +# +# =========================================================== +# Client -- bacula-fd rpm +# =========================================================== +# %package client Summary: Bacula - The Network Backup Solution Group: System Environment/Daemons @@ -500,6 +510,11 @@ This build includes python scripting support. This build includes tcp-wrappers support. %endif +# +# =========================================================== +# Generate updatedb rpm +# =========================================================== +# %if ! %{client_only} %package updatedb @@ -521,6 +536,11 @@ This package installs scripts for updating older versions of the bacula database. %endif +# +# =========================================================== +# Generate libs rpm +# =========================================================== +# %package libs Summary: Bacula - The Network Backup Solution