From c5c2f09b8f461a9505961d568419ab038e87bb60 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 9 Jan 2018 14:46:37 -0600 Subject: [PATCH] update systemd requirements per guidelines https://fedoraproject.org/wiki/Packaging:Systemd#Filesystem_locations https://fedoraproject.org/wiki/Packaging:Scriptlets#Scriptlets --- haproxy.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/haproxy.spec b/haproxy.spec index 0ea7202..f32bcf3 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -27,12 +27,10 @@ BuildRequires: pcre-devel BuildRequires: zlib-devel BuildRequires: openssl-devel BuildRequires: systemd-devel -BuildRequires: systemd-units +BuildRequires: systemd Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd +%{?systemd_requires} %description HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high