From e5caac0ac862d6bedc2777f3d765167eef60eeab Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 31 Mar 2017 16:41:22 +0200 Subject: [PATCH] More bacula.spec.in improvements --- bacula/platforms/rpms/redhat/bacula.spec.in | 22 ++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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 -- 2.39.5