diff --git a/usr-sqlite.patch b/usr-sqlite.patch deleted file mode 100644 index ceedb1b..0000000 --- a/usr-sqlite.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/ext/repo_rpmdb_librpm.h b/ext/repo_rpmdb_librpm.h -index 34e6698..35a46fa 100644 ---- a/ext/repo_rpmdb_librpm.h -+++ b/ext/repo_rpmdb_librpm.h -@@ -46,7 +46,7 @@ static void - detect_dbpath(struct rpmdbstate *state) - { - state->dbpath = access_rootdir(state, "/var/lib/rpm", W_OK) == -1 -- && access_rootdir(state, "/usr/share/rpm/Packages", R_OK) == 0 -+ && (access_rootdir(state, "/usr/share/rpm/Packages", R_OK) == 0 || access_rootdir(state, "/usr/share/rpm/rpmdb.sqlite", R_OK) == 0) - ? "/usr/share/rpm" : "/var/lib/rpm"; - } -