From d713699d47a9c738e297d3b1f3c02b7c699eed4c6effb49ddd394ef624518619 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 17 Mar 2023 13:33:50 +0000 Subject: [PATCH] - Add manual pages OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/lastlog2?expand=0&rev=14 --- lastlog2-0.0.1.tar.xz | 4 ++-- lastlog2.changes | 5 +++++ lastlog2.spec | 5 ++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lastlog2-0.0.1.tar.xz b/lastlog2-0.0.1.tar.xz index 1694650..c4a6c62 100644 --- a/lastlog2-0.0.1.tar.xz +++ b/lastlog2-0.0.1.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8d0fd20c4c41defc834cdb8a92f3ab0817dca0074e73a1c55393073d4169d2e5 -size 10356 +oid sha256:13682438c8bf1125d1ee587fb93bb55e814de6ae8fdf51743d3d83c1bca59301 +size 13132 diff --git a/lastlog2.changes b/lastlog2.changes index 1fba138..808e570 100644 --- a/lastlog2.changes +++ b/lastlog2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 17 13:33:38 UTC 2023 - Thorsten Kukuk + +- Add manual pages + ------------------------------------------------------------------- Mon Mar 13 14:48:44 UTC 2023 - Thorsten Kukuk diff --git a/lastlog2.spec b/lastlog2.spec index 7743044..d227053 100644 --- a/lastlog2.spec +++ b/lastlog2.spec @@ -24,6 +24,7 @@ Summary: Reports most recent login of users License: BSD-2-Clause URL: https://github.com/thkukuk/lastlog2 Source: %{name}-%{version}.tar.xz +BuildRequires: docbook5-xsl-stylesheets BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(pam) @@ -51,7 +52,7 @@ to develop applications that needs to read, write or modify the lastlog2 databas %setup -q %build -%meson +%meson -Dman=true %meson_build %install @@ -78,6 +79,8 @@ fi %{_tmpfilesdir}/lastlog2.conf %{_pam_moduledir}/pam_lastlog2.so %ghost %{_localstatedir}/lib/lastlog +%{_mandir}/man8/lastlog2.8%{?ext_man} +%{_mandir}/man8/pam_lastlog2.8%{?ext_man} %files -n %{lname} %license LICENSE