- Use Requires(pre) and Requires(post) instead of PreReq

OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/wtmpdb?expand=0&rev=5
This commit is contained in:
Thorsten Kukuk 2023-04-24 09:48:33 +00:00 committed by Git OBS Bridge
parent 659bfb45f1
commit 5a062f3691
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 24 09:46:56 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Use Requires(pre) and Requires(post) instead of PreReq
-------------------------------------------------------------------
Tue Apr 18 06:21:02 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -30,7 +30,8 @@ BuildRequires: pkgconfig
BuildRequires: pkgconfig(audit)
BuildRequires: pkgconfig(pam)
BuildRequires: pkgconfig(sqlite3)
PreReq: pam-config
Requires(post): pam-config
Requires(postun):pam-config
%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.