From 1f9e275259f7f7e4fbcab0de7b8a9e9624e9b43d578fbefb1449985f925f3738 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 5 Oct 2021 13:00:46 +0000 Subject: [PATCH] fix previous commit OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1196 --- systemd-mini.spec | 2 +- systemd.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systemd-mini.spec b/systemd-mini.spec index ef901410..c08f0716 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -743,7 +743,7 @@ rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants} rm -f %{buildroot}/etc/systemd/system/default.target # Replace upstream systemd-user with the openSUSE one. -install -m0644 %{S:2} %{buildroot}%{_pam_vendordir} +install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{S:2} # don't enable wall ask password service, it spams every console (bnc#747783) rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path diff --git a/systemd.spec b/systemd.spec index eae5c1dd..b4c4fba5 100644 --- a/systemd.spec +++ b/systemd.spec @@ -741,7 +741,7 @@ rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants} rm -f %{buildroot}/etc/systemd/system/default.target # Replace upstream systemd-user with the openSUSE one. -install -m0644 %{S:2} %{buildroot}%{_pam_vendordir} +install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{S:2} # don't enable wall ask password service, it spams every console (bnc#747783) rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path