From 39b8fe8e870d51a2cad66c79595cec3b35f1a1deb73f6c9266e956c44744b1fe Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 9 Aug 2021 08:32:39 +0000 Subject: [PATCH] Accepting request 909931 from home:pgajdos - package man5/motd.5 as a man-pages link to man8/pam_motd.8 [bsc#1188724] OBS-URL: https://build.opensuse.org/request/show/909931 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=244 --- pam.changes | 6 ++++++ pam.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/pam.changes b/pam.changes index 038c58d..d8bcdc5 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 3 09:26:00 UTC 2021 - pgajdos@suse.com + +- package man5/motd.5 as a man-pages link to man8/pam_motd.8 + [bsc#1188724] + ------------------------------------------------------------------- Tue Jul 13 13:40:00 UTC 2021 - Thorsten Kukuk diff --git a/pam.spec b/pam.spec index 93585a2..3f7be43 100644 --- a/pam.spec +++ b/pam.spec @@ -239,6 +239,8 @@ popd # Install unix2_chkpwd install -m 755 %{_builddir}/unix2_chkpwd %{buildroot}%{_sbindir} install -m 644 %{_sourcedir}/unix2_chkpwd.8 %{buildroot}/%{_mandir}/man8/ +# bsc#1188724 +echo '.so man8/pam_motd.8' > %{buildroot}%{_mandir}/man5/motd.5 # rpm macros install -D -m 644 %{SOURCE2} %{buildroot}%{_rpmmacrodir}/macros.pam # /run/motd.d @@ -301,6 +303,7 @@ done %{_mandir}/man5/environment.5%{?ext_man} %{_mandir}/man5/*.conf.5%{?ext_man} %{_mandir}/man5/pam.d.5%{?ext_man} +%{_mandir}/man5/motd.5%{?ext_man} %{_mandir}/man8/PAM.8%{?ext_man} %{_mandir}/man8/faillock.8%{?ext_man} %{_mandir}/man8/mkhomedir_helper.8%{?ext_man}