From 44bc7b26293c6c9bd414668a34384d2efc3ad86f Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 14 Oct 2013 10:25:18 +0200 Subject: [PATCH] spec: Require apache for -classicui-config. --- icinga2.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/icinga2.spec.in b/icinga2.spec.in index 77f5a9822..78c404e94 100644 --- a/icinga2.spec.in +++ b/icinga2.spec.in @@ -4,6 +4,7 @@ %define el5_boost_version 141 %define el5_boost_libs %{_libdir}/boost%{el5_boost_version} %define el5_boost_includes /usr/include/boost%{el5_boost_version} +%define apachename httpd %define apacheconfdir %{_sysconfdir}/httpd/conf.d %define apacheuser apache %define apachegroup apache @@ -11,6 +12,7 @@ %if "%{_vendor}" == "suse" %define opensuse_boost_version 1_49_0 %define sles_boost_version 1_54_0 +%define apachename apache2 %define apacheconfdir %{_sysconfdir}/apache2/conf.d %define apacheuser wwwrun %define apachegroup www @@ -43,6 +45,7 @@ BuildRequires: autoconf BuildRequires: libtool BuildRequires: flex BuildRequires: bison +BuildRequires: %{apachename} %if "%{_vendor}" == "redhat" BuildRequires: libtool-ltdl-devel @@ -138,6 +141,7 @@ IDOUtils schema >= 1.10 %package classicui-config Summary: Icinga 2 Classic UI Standalone configuration Group: Applications/System +Requires: %{apachename} Provides: icinga-classicui-config Conflicts: icinga-gui-config