Fix systemd Requires and BuildRequires

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
This commit is contained in:
Jonathan Dieter 2018-01-27 22:17:18 +02:00
parent 55a93c7bc2
commit ceb1c4fc1f
1 changed files with 8 additions and 13 deletions

View File

@ -1,7 +1,7 @@
Name: lizardfs
Summary: Distributed, fault tolerant file system
Version: 3.12.0
Release: 1%{?dist}
Release: 2%{?dist}
# LizardFS is under GPLv3 while crcutil is under ASL 2.0 and there's one header,
# src/common/coroutine.h, under the Boost license
License: GPLv3 and ASL 2.0 and Boost
@ -49,9 +49,7 @@ http://lizardfs.com
Summary: LizardFS master server
Group: System Environment/Daemons
Requires: pam
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%{?systemd_requires}
%description master
LizardFS master (metadata) server together with metadata restore utility.
@ -60,9 +58,7 @@ LizardFS master (metadata) server together with metadata restore utility.
%package metalogger
Summary: LizardFS metalogger server
Group: System Environment/Daemons
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%{?systemd_requires}
%description metalogger
LizardFS metalogger (metadata replication) server.
@ -71,9 +67,7 @@ LizardFS metalogger (metadata replication) server.
%package chunkserver
Summary: LizardFS data server
Group: System Environment/Daemons
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%{?systemd_requires}
%description chunkserver
LizardFS data server.
@ -101,9 +95,7 @@ LizardFS CGI Monitor.
Summary: Simple CGI-capable HTTP server to run LizardFS CGI Monitor
Group: System Environment/Daemons
Requires: %{name}-cgi = %{version}-%{release}
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%{?systemd_requires}
%description cgiserv
Simple CGI-capable HTTP server to run LizardFS CGI Monitor.
@ -410,6 +402,9 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/limits.d/95-lizardf
%changelog
* Sat Jan 27 2018 Jonathan Dieter <jdieter@gmail.com> - 3.12.0-2
- Fix systemd Requires and BuildRequires
* Tue Dec 26 2017 Jonathan Dieter <jdieter@lesbg.com> - 3.12.0-1
- Update to 3.12.0