From add873f61e483a4220ec58f895a99bbe859741079890e2a09901161a1c43e512 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 23 Aug 2023 09:38:24 +0000 Subject: [PATCH] Accepting request 1105450 from home:kukuk:no-utmp - Fix building without SELinux OBS-URL: https://build.opensuse.org/request/show/1105450 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=279 --- pam.changes | 5 +++++ pam.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/pam.changes b/pam.changes index 6b48ff1..d5bc85e 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 23 09:20:06 UTC 2023 - Thorsten Kukuk + +- Fix building without SELinux + ------------------------------------------------------------------- Mon Aug 7 09:41:27 UTC 2023 - Thorsten Kukuk diff --git a/pam.spec b/pam.spec index 58a4155..0d05b92 100644 --- a/pam.spec +++ b/pam.spec @@ -551,8 +551,10 @@ done %{_mandir}/man8/pam_rhosts.8%{?ext_man} %{_mandir}/man8/pam_rootok.8%{?ext_man} %{_mandir}/man8/pam_securetty.8%{?ext_man} +%if %{with selinux} %{_mandir}/man8/pam_selinux.8%{?ext_man} %{_mandir}/man8/pam_sepermit.8%{?ext_man} +%endif %{_mandir}/man8/pam_setquota.8%{?ext_man} %{_mandir}/man8/pam_shells.8%{?ext_man} %{_mandir}/man8/pam_stress.8%{?ext_man}