Accepting request 1079199 from home:kukuk:cleanup

- Add lastlog symlink for compatibility

OBS-URL: https://build.opensuse.org/request/show/1079199
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/lastlog2?expand=0&rev=33
This commit is contained in:
Thorsten Kukuk 2023-04-13 12:45:44 +00:00 committed by Git OBS Bridge
parent 5a41fb7043
commit 98a092d0eb
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}