Skip to content

Commit

Permalink
munge: Fix installation of */lib/tmpfiles.d/munge.conf for SUSE
Browse files Browse the repository at this point in the history
SUSE needs systemd installed for the install scripts to detect the use
of systemd and install */lib/tmpfiles.d/munge.conf. Once this works it
can be added to the %files list.

Signed-off-by: Egbert Eich <[email protected]>
  • Loading branch information
e4t committed Sep 6, 2016
1 parent 0c610ce commit 1019f28
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/rms/munge/SPECS/munge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Provides: %{pname} = %{version}-%{release}
BuildRequires: libbz2-devel
BuildRequires: libopenssl-devel
BuildRequires: zlib-devel
%if 0%{?suse_version} >= 1230
BuildRequires: systemd
%endif
%else
%if 0%{?sles_version} || 0%{?suse_version}
BuildRequires: bzip2
Expand Down Expand Up @@ -239,7 +242,7 @@ fi
%{_mandir}/*[^3]/*


%if 0%{?rhel_version} > 600 || 0%{?centos_version} > 600
%if 0%{?suse_version} >= 1230 || 0%{?rhel_version} > 600 || 0%{?centos_version} > 600
%{_prefix}/lib/tmpfiles.d/munge.conf
%endif

Expand Down

0 comments on commit 1019f28

Please sign in to comment.