From 056ea9da7e029d6afb4106049011cf5701b6786c Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Dec 13 2023 11:22:21 +0000 Subject: Actually add --verifydb to the man page Resolves: RHEL-14591 --- diff --git a/0001-Expose-and-document-rpmdb-verifydb-operation.patch b/0001-Expose-and-document-rpmdb-verifydb-operation.patch index 580a8b3..23b444a 100644 --- a/0001-Expose-and-document-rpmdb-verifydb-operation.patch +++ b/0001-Expose-and-document-rpmdb-verifydb-operation.patch @@ -30,10 +30,10 @@ index 22b0b3e5d..36efff8af 100644 2.41.0 --- a/doc/rpmdb.8 2020-05-28 12:04:25.024136615 +0200 -+++ b/doc/rpmdb.8 2023-11-07 23:27:27.000000000 +0100 -@@ -1,48 +1,57 @@ ++++ b/doc/rpmdb.8 2023-12-13 11:57:30.646202901 +0100 +@@ -1,48 +1,70 @@ -.TH "RPMDB" "8" "29 June 2010" "Red Hat, Inc" -+.\" Automatically generated by Pandoc 2.19.2 ++.\" Automatically generated by Pandoc 3.1.3 +.\" +.\" Define V font for inline verbatim, using C font in formats +.\" that render this, and otherwise B font. @@ -94,10 +94,14 @@ index 22b0b3e5d..36efff8af 100644 -.SH "AUTHORS" - +.PP -+\f[B]rpm\f[R] {\f[B]--initdb|--rebuilddb\f[R]} ++\f[B]rpmdb\f[R] {\f[B]--initdb|--rebuilddb\f[R]} ++.PP ++\f[B]rpmdb\f[R] {\f[B]--verifydb\f[R]} ++.PP ++\f[B]rpmdb\f[R] {\f[B]--exportdb|--importdb\f[R]} +.SH DESCRIPTION +.PP -+The general form of an rpm rebuild database command is ++The general form of an rpmdb command is +.PP +\f[B]rpm\f[R] {\f[B]--initdb|--rebuilddb\f[R]} [\f[B]-v\f[R]] +[\f[B]--dbpath \f[R]\f[I]DIRECTORY\f[R]] [\f[B]--root @@ -107,6 +111,15 @@ index 22b0b3e5d..36efff8af 100644 +already exist (existing database is not overwritten), use +\f[B]--rebuilddb\f[R] to rebuild the database indices from the installed +package headers. ++.PP ++\f[B]--verifydb\f[R] performs a low-level integrity check on the ++database. ++.PP ++\f[B]--exportdb\f[R] exports the database in header-list format, ++suitable for transfporting to another host or database type. ++.PP ++\f[B]--importdb\f[R] imports a database from a header-list format as ++created by \f[B]--exportdb\f[R]. +.SH SEE ALSO +.PP +\f[B]popt\f[R](3), \f[B]rpm\f[R](8), \f[B]rpmkeys\f[R](8), diff --git a/rpm.spec b/rpm.spec index bd597be..bd984b9 100644 --- a/rpm.spec +++ b/rpm.spec @@ -32,7 +32,7 @@ %global rpmver 4.16.1.3 #global snapver rc1 -%global rel 28 +%global rel 29 %global sover 9 %global srcver %{rpmver}%{?snapver:-%{snapver}} @@ -656,6 +656,9 @@ fi %doc doc/librpm/html/* %changelog +* Wed Dec 13 2023 Florian Festi - 4.16.1.3-29 +- Actually add --verifydb to the man page (RHEL-14591) + * Mon Dec 11 2023 Florian Festi - 4.16.1.3-28 - Fix warning if file removal fails