From e4745ad53cc127873615955ffdbd7a3d4e103b3e Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 14 Nov 2017 10:30:51 -0700 Subject: [PATCH] Install built fail2ban.service file --- fail2ban.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban.spec b/fail2ban.spec index bfe84d2..f13dba9 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -171,7 +171,7 @@ find -type f -exec sed -i -e '1s,^#!/usr/bin/python *,#!/usr/bin/python%{python3 %if 0%{?fedora} || 0%{?rhel} >= 7 mkdir -p %{buildroot}%{_unitdir} -cp -p files/fail2ban.service %{buildroot}%{_unitdir}/ +cp -p build/fail2ban.service %{buildroot}%{_unitdir}/ %else mkdir -p %{buildroot}%{_initddir} install -p -m 755 files/redhat-initd %{buildroot}%{_initddir}/fail2ban