From 44aae310bd4e0f19369ea1c91ada03334f29c843 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 9 Mar 2021 09:33:17 -0600 Subject: [PATCH] create userunit dir before installing to it *shrug*, for posterity, consider using install -D ... --- openssh.spec | 1 + 1 file changed, 1 insertion(+) 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}/