Dominique Leuenberger 2021-06-09 19:51:17 +00:00 committed by Git OBS Bridge
commit cc117ca26e
5 changed files with 25 additions and 0 deletions

View File

@ -7,4 +7,5 @@ session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session include common-session
#session optional pam_lastlog.so nowtmp showfailed
session optional pam_motd.so
session optional pam_mail.so standard

View File

@ -370,6 +370,7 @@ Conflicts: util-linux < 2.25
%description systemd
%else
%description
%endif
This package contains low-level util-linux utilities that use systemd.
@ -404,12 +405,14 @@ Group: %group_pl
%description -n python3-libmount
%else
%description
%endif
This package contains the Python bindings for util-linux libmount
library.
%endif
%prep
%setup -q -n %{_name}-%{version}
cp -a %{S:2} .
@ -866,6 +869,7 @@ done
%if 0%{?suse_version} >= 1330
%pre -n uuidd
%else
%pre -n uuidd
getent group uuidd >/dev/null || /usr/sbin/groupadd -r uuidd
getent passwd uuidd >/dev/null || \
@ -1324,6 +1328,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files systemd
%else
%files
%endif
%defattr(-, root, root)
@ -1374,6 +1379,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files -n python3-libmount
%else
%files
%endif
%defattr(-, root, root)

View File

@ -370,6 +370,7 @@ Conflicts: util-linux < 2.25
%description systemd
%else
%description
%endif
This package contains low-level util-linux utilities that use systemd.
@ -404,12 +405,14 @@ Group: %group_pl
%description -n python3-libmount
%else
%description
%endif
This package contains the Python bindings for util-linux libmount
library.
%endif
%prep
%setup -q -n %{_name}-%{version}
cp -a %{S:2} .
@ -866,6 +869,7 @@ done
%if 0%{?suse_version} >= 1330
%pre -n uuidd
%else
%pre -n uuidd
getent group uuidd >/dev/null || /usr/sbin/groupadd -r uuidd
getent passwd uuidd >/dev/null || \
@ -1324,6 +1328,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files systemd
%else
%files
%endif
%defattr(-, root, root)
@ -1374,6 +1379,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files -n python3-libmount
%else
%files
%endif
%defattr(-, root, root)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue May 25 15:02:00 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- login.pamd: use pam_motd to unify motd handling [bsc#1185897].
Else motd snippets of e.g. cockpit will not be shown.
-------------------------------------------------------------------
Tue Feb 16 19:33:08 UTC 2021 - Stanislav Brabec <sbrabec@suse.com>

View File

@ -370,6 +370,7 @@ Conflicts: util-linux < 2.25
%description systemd
%else
%description
%endif
This package contains low-level util-linux utilities that use systemd.
@ -404,12 +405,14 @@ Group: %group_pl
%description -n python3-libmount
%else
%description
%endif
This package contains the Python bindings for util-linux libmount
library.
%endif
%prep
%setup -q -n %{_name}-%{version}
cp -a %{S:2} .
@ -866,6 +869,7 @@ done
%if 0%{?suse_version} >= 1330
%pre -n uuidd
%else
%pre -n uuidd
getent group uuidd >/dev/null || /usr/sbin/groupadd -r uuidd
getent passwd uuidd >/dev/null || \
@ -1324,6 +1328,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files systemd
%else
%files
%endif
%defattr(-, root, root)
@ -1374,6 +1379,7 @@ rmdir --ignore-fail-on-non-empty /run/run >/dev/null 2>&1 || :
%if %build_util_linux
%files -n python3-libmount
%else
%files
%endif
%defattr(-, root, root)