From 98a092d0eb621d0e0347081f6774ceb1e547641616f9dc93235463d899dfe838 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 13 Apr 2023 12:45:44 +0000 Subject: [PATCH] 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 --- lastlog2.changes | 5 +++++ lastlog2.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lastlog2.changes b/lastlog2.changes index 7bdd7a4..1acd0af 100644 --- a/lastlog2.changes +++ b/lastlog2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 13 12:38:05 UTC 2023 - Thorsten Kukuk + +- Add lastlog symlink for compatibility + ------------------------------------------------------------------- Tue Apr 11 09:56:19 UTC 2023 - Thorsten Kukuk diff --git a/lastlog2.spec b/lastlog2.spec index caca8f3..103233a 100644 --- a/lastlog2.spec +++ b/lastlog2.spec @@ -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}