diff --git a/wtmpdb-0.7.0.tar.xz b/wtmpdb-0.7.0.tar.xz deleted file mode 100644 index 48e33c3..0000000 --- a/wtmpdb-0.7.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a94084bf5c7b4aced8e5f21f909e4f2961d632c7bcbcb5a2ec055115413f4108 -size 19232 diff --git a/wtmpdb-0.7.1.tar.xz b/wtmpdb-0.7.1.tar.xz new file mode 100644 index 0000000..cb070c4 --- /dev/null +++ b/wtmpdb-0.7.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c3c1038b2169e787b3fcaf8c52770833e64f588ecb3b3d48ffdadc56cc711c7 +size 19404 diff --git a/wtmpdb.changes b/wtmpdb.changes index 74d470e..353bae8 100644 --- a/wtmpdb.changes +++ b/wtmpdb.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Sat Jul 1 23:43:32 UTC 2023 - Jan Engelhardt + +- https://en.opensuse.org/SourceUrls +- Use noun phrase for Summary. +- Wrap descriptions at 70 (for yast2 textmode). + +------------------------------------------------------------------- +Thu Jun 29 12:09:19 UTC 2023 - Thorsten Kukuk + +- Update to ersion 0.7.1 + - wtmpdb last: Support "YYYY-MM-DD", "today" and "yesterday" as + time option + +------------------------------------------------------------------- +Tue Jun 27 06:30:33 UTC 2023 - Thorsten Kukuk + +- Add last compat symlink and manual page + ------------------------------------------------------------------- Wed Jun 21 06:52:21 UTC 2023 - Thorsten Kukuk diff --git a/wtmpdb.spec b/wtmpdb.spec index 824db08..a17414c 100644 --- a/wtmpdb.spec +++ b/wtmpdb.spec @@ -18,12 +18,12 @@ %define lname libwtmpdb0 Name: wtmpdb -Version: 0.7.0 +Version: 0.7.1 Release: 0 -Summary: Reports last logged in users and system reboots +Summary: Database for recording the last logged in users and system reboots License: BSD-2-Clause URL: https://github.com/thkukuk/wtmpdb -Source: %{name}-%{version}.tar.xz +Source: https://github.com/thkukuk/wtmpdb/releases/download/v0.7.1/%{name}-%{version}.tar.xz BuildRequires: docbook5-xsl-stylesheets BuildRequires: meson BuildRequires: pkgconfig @@ -32,33 +32,42 @@ 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. +pam_wtmpdb and wtmpdb are Y2038-safe versions of wtmp and the last +utility. pam_wtmpdb collects all data in a sqlite3 database and the +wtmpdb utility creates boot and shutdown entries or formats and +prints the contents of the wtmp database. %package -n %{lname} Summary: PAM module to store login and logout of users %description -n %{lname} -The libwtmpdb provides various interfaces to read, write or modify the wtmpdb database. +The libwtmpdb provides various interfaces to read, write or modify +the wtmpdb database. %package devel Summary: Development files for libwtmpdb Requires: %{lname} = %{version} %description devel -This package contains all necessary include files and libraries needed -to develop applications that needs to read, write or modify the wtmpdb database. +This package contains all necessary include files and libraries +needed to develop applications that needs to read, write or modify +the wtmpdb database. %prep -%setup -q +%autosetup %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 +95,7 @@ fi %files %license LICENSE +%{_bindir}/last %{_bindir}/wtmpdb %{_unitdir}/wtmpdb-update-boot.service %{_unitdir}/wtmpdb-rotate.service @@ -93,6 +103,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}