summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-04-05 13:44:11 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-04-05 13:44:11 +0300
commitf62b6d27cd741406a52a7e9c5b1d6f581dbd3af8 (patch)
tree3bc0bfa93d7206cd64cb42dbee3b2a283edb0e38
parent4475614eb54feedc85de5b92b3e3a22c0da75468 (diff)
downloadrpm-f62b6d27cd741406a52a7e9c5b1d6f581dbd3af8.tar.gz
Fix minor ABI regression wrt RPMQV_* enum
Commit 949dc7c31ad26cb489e54386d289b73f40a54b80 introduced a new value into middle of a public enum, which we can't do since we're not bumping soname here. Not that anybody would've noticed, nothing outside rpm itself uses this rpmcli stuff really.
-rw-r--r--include/rpm/rpmcli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpm/rpmcli.h b/include/rpm/rpmcli.h
index 104ec11a9..3e5900d6a 100644
--- a/include/rpm/rpmcli.h
+++ b/include/rpm/rpmcli.h
@@ -81,7 +81,6 @@ rpmcliFini(poptContext optCon);
enum rpmQVSources_e {
RPMQV_PACKAGE = 0, /*!< ... from package name db search. */
RPMQV_PATH, /*!< ... from file path db search. */
- RPMQV_PATH_ALL, /*!< ... from file path db search (all states). */
RPMQV_ALL, /*!< ... from each installed package. */
RPMQV_RPM, /*!< ... from reading binary rpm package. */
RPMQV_GROUP, /*!< ... from group db search. */
@@ -102,6 +101,7 @@ enum rpmQVSources_e {
RPMQV_SPECBUILTRPMS, /*!< ... from pkgs which would be built from spec */
RPMQV_WHATOBSOLETES, /*!< ... from obsoletes db search. */
RPMQV_WHATCONFLICTS, /*!< ... from conflicts db search. */
+ RPMQV_PATH_ALL, /*!< ... from file path db search (all states). */
};
typedef rpmFlags rpmQVSources;