From 44aae310bd4e0f19369ea1c91ada03334f29c843 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mar 09 2021 15:33:17 +0000 Subject: create userunit dir before installing to it *shrug*, for posterity, consider using install -D ... --- diff --git a/openssh.spec b/openssh.spec index 003062e..6f172dc 100644 --- a/openssh.spec +++ b/openssh.spec @@ -510,6 +510,7 @@ install -m644 %{SOURCE10} $RPM_BUILD_ROOT/%{_unitdir}/sshd.socket install -m644 %{SOURCE11} $RPM_BUILD_ROOT/%{_unitdir}/sshd.service install -m644 %{SOURCE12} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen@.service install -m644 %{SOURCE15} $RPM_BUILD_ROOT/%{_unitdir}/sshd-keygen.target +install -d -m755 $RPM_BUILD_ROOT/%{_userunitdir} install -m644 %{SOURCE16} $RPM_BUILD_ROOT/%{_userunitdir}/ssh-agent.service install -m744 %{SOURCE13} $RPM_BUILD_ROOT/%{_libexecdir}/openssh/sshd-keygen install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}/