rpm: Fix shadow-utils requirement on SUSE
This commit is contained in:
parent
e8619686ae
commit
9dd179d8f3
|
@ -29,7 +29,6 @@ Packager: Icinga Team <info@icinga.org>
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%define wwwconfigdir %{_sysconfdir}/apache2/conf.d
|
%define wwwconfigdir %{_sysconfdir}/apache2/conf.d
|
||||||
%define wwwuser wwwrun
|
%define wwwuser wwwrun
|
||||||
|
@ -43,7 +42,9 @@ Requires: apache2-mod_php5
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
%{?fedora:Requires(pre): shadow-utils}
|
||||||
|
%{?rhel:Requires(pre): shadow-utils}
|
||||||
|
%{?suse_version:Requires(pre): pwdutils}
|
||||||
Requires: %{name}-common = %{version}-%{release}
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
Requires: php-Icinga = %{version}-%{release}
|
Requires: php-Icinga = %{version}-%{release}
|
||||||
Requires: %{name}-vendor-dompdf
|
Requires: %{name}-vendor-dompdf
|
||||||
|
@ -70,6 +71,9 @@ Icinga Web 2
|
||||||
%package common
|
%package common
|
||||||
Summary: Common files for Icinga Web 2 and the Icinga CLI
|
Summary: Common files for Icinga Web 2 and the Icinga CLI
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
%{?fedora:Requires(pre): shadow-utils}
|
||||||
|
%{?rhel:Requires(pre): shadow-utils}
|
||||||
|
%{?suse_version:Requires(pre): pwdutils}
|
||||||
|
|
||||||
%description common
|
%description common
|
||||||
Common files for Icinga Web 2 and the Icinga CLI
|
Common files for Icinga Web 2 and the Icinga CLI
|
||||||
|
|
Loading…
Reference in New Issue