Accepting request 1095805 from home:kukuk:no-utmp
- Add last compat symlink and manual page OBS-URL: https://build.opensuse.org/request/show/1095805 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=17
This commit is contained in:
parent
e4d0e20581
commit
2643ae6756
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 06:30:33 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
- Add last compat symlink and manual page
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 06:52:21 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||
|
||||
|
@ -32,6 +32,8 @@ BuildRequires: pkgconfig(pam)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
Requires(post): pam-config
|
||||
Requires(postun):pam-config
|
||||
# Split provide for last
|
||||
Provides: util-linux:/usr/bin/last
|
||||
|
||||
%description
|
||||
pam_wtmpdb and wtmpdb are Y2038 safe versions of wtmp and the last utility. pam_wtmpdb collects all data in a sqlite3 database and wtmpdb creates boot and shutdown entries or formats and prints the contents of the wtmp database.
|
||||
@ -54,11 +56,13 @@ to develop applications that needs to read, write or modify the wtmpdb database.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%meson -Dman=true
|
||||
%meson -Dman=true -Dcompat-symlink=true
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
echo ".so wtmpdb.8" > %{buildroot}%{_mandir}/man1/last.1
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
@ -86,6 +90,7 @@ fi
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/last
|
||||
%{_bindir}/wtmpdb
|
||||
%{_unitdir}/wtmpdb-update-boot.service
|
||||
%{_unitdir}/wtmpdb-rotate.service
|
||||
@ -93,6 +98,7 @@ fi
|
||||
%{_tmpfilesdir}/wtmpdb.conf
|
||||
%{_pam_moduledir}/pam_wtmpdb.so
|
||||
%ghost %{_localstatedir}/lib/wtmpdb
|
||||
%{_mandir}/man1/last.1%{?ext_man}
|
||||
%{_mandir}/man8/wtmpdb.8%{?ext_man}
|
||||
%{_mandir}/man8/pam_wtmpdb.8%{?ext_man}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user