Include if clause

This commit is contained in:
Henrik Triem 2021-08-06 12:44:26 +02:00
parent d9c8eed355
commit 27c179692b
1 changed files with 4 additions and 0 deletions

View File

@ -64,7 +64,11 @@ Obsoletes: redis-trib < 5
# Required for redis-shutdown
Requires: /bin/awk
Requires: logrotate
%if "%{_vendor}" == "suse"
Requires(pre): shadow
%else
Requires(pre): shadow-utils
%endif
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd