diff --git a/isns-utils.spec b/isns-utils.spec index 0650438..af43f5f 100644 --- a/isns-utils.spec +++ b/isns-utils.spec @@ -44,6 +44,9 @@ sed -i -e 's|-m 555|-m 755|' Makefile make install DESTDIR=%{buildroot} make install_hdrs DESTDIR=%{buildroot} make install_lib DESTDIR=%{buildroot} +rm %{buildroot}%{_unitdir}/isnsd.service +rm %{buildroot}%{_unitdir}/isnsd.socket +install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/isnsd.service %post