use macro for systemd scriptlet dependencies
This commit is contained in:
parent
2dea76c120
commit
9d38b9a1df
@ -17,16 +17,14 @@ Source1: memcached.sysconfig
|
||||
|
||||
Patch1: memcached-unit.patch
|
||||
|
||||
BuildRequires: libevent-devel systemd-units
|
||||
BuildRequires: libevent-devel systemd
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Test::More), perl(Test::Harness)
|
||||
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
|
||||
%{?with_seccomp:BuildRequires: libseccomp-devel}
|
||||
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
Requires(pre): shadow-utils
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
memcached is a high-performance, distributed memory object caching
|
||||
|
Loading…
Reference in New Issue
Block a user