diff --git a/rusqlite-fix-metadata.diff b/rusqlite-fix-metadata.diff index 8974877..0634a96 100644 --- a/rusqlite-fix-metadata.diff +++ b/rusqlite-fix-metadata.diff @@ -1,5 +1,5 @@ --- rusqlite-0.31.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rusqlite-0.31.0/Cargo.toml 2024-09-29T17:57:46.314502+00:00 ++++ rusqlite-0.31.0/Cargo.toml 2024-09-29T18:29:36.129354+00:00 @@ -67,7 +67,6 @@ name = "load_extension" required-features = [ @@ -19,7 +19,17 @@ [dependencies.serde_json] version = "1.0" -@@ -170,23 +165,6 @@ +@@ -143,9 +138,6 @@ + version = "1.0" + optional = true + +-[dev-dependencies.bencher] +-version = "0.1" +- + [dev-dependencies.doc-comment] + version = "0.3" + +@@ -170,23 +162,6 @@ backup = [] blob = [] buildtime_bindgen = ["libsqlite3-sys/buildtime_bindgen"] @@ -43,7 +53,7 @@ collation = [] column_decltype = [] csvtab = [ -@@ -197,13 +175,8 @@ +@@ -197,13 +172,8 @@ functions = [] hooks = [] i128_blob = [] @@ -57,7 +67,7 @@ modern-full = [ "array", "backup", -@@ -229,7 +202,7 @@ +@@ -229,7 +199,7 @@ "vtab", "window", ] @@ -66,7 +76,7 @@ release_memory = [] serialize = ["modern_sqlite"] series = ["vtab"] -@@ -237,13 +210,10 @@ +@@ -237,13 +207,10 @@ "libsqlite3-sys/session", "hooks", ] diff --git a/rust-rusqlite.spec b/rust-rusqlite.spec index 3aa48c7..95e8a1a 100644 --- a/rust-rusqlite.spec +++ b/rust-rusqlite.spec @@ -17,6 +17,7 @@ Source: %{crates_source} # * drop Windows- and WASM-specific features and dependencies # * drop unused optional rusqlite_macros dependency # * drop unused support for sqlcipher +# * drop unused, benchmark-only bencher dev-dependency Patch: rusqlite-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml index f34a609..c54beda 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -4,5 +4,6 @@ cargo-toml-patch-comments = [ "drop Windows- and WASM-specific features and dependencies", "drop unused optional rusqlite_macros dependency", "drop unused support for sqlcipher", + "drop unused, benchmark-only bencher dev-dependency", ]