Accepting request 1079200 from Linux-PAM

- Add lastlog symlink for compatibility (forwarded request 1079199 from kukuk)

OBS-URL: https://build.opensuse.org/request/show/1079200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lastlog2?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2023-04-16 14:06:39 +00:00 committed by Git OBS Bridge
commit a0d153fdfd
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 13 12:38:05 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Add lastlog symlink for compatibility
-------------------------------------------------------------------
Tue Apr 11 09:56:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -53,11 +53,12 @@ to develop applications that needs to read, write or modify the lastlog2 databas
%setup -q
%build
%meson -Dman=true
%meson -Dman=true -Dcompat-symlink=true
%meson_build
%install
%meson_install
echo ".so lastlog2" > %{buildroot}%{_mandir}/man8/lastlog.8
%check
%meson_test
@ -84,11 +85,13 @@ fi
%files
%license LICENSE
%{_bindir}/lastlog
%{_bindir}/lastlog2
%{_unitdir}/lastlog2-import.service
%{_tmpfilesdir}/lastlog2.conf
%{_pam_moduledir}/pam_lastlog2.so
%ghost %{_localstatedir}/lib/lastlog
%{_mandir}/man8/lastlog.8%{?ext_man}
%{_mandir}/man8/lastlog2.8%{?ext_man}
%{_mandir}/man8/pam_lastlog2.8%{?ext_man}