diff --git a/.gitignore b/.gitignore index a9471e2..347d3f9 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /git2-0.18.1.crate /git2-0.18.2.crate /git2-0.18.3.crate +/git2-0.19.0.crate diff --git a/git2-fix-metadata.diff b/git2-fix-metadata.diff index 776aa19..39cc600 100644 --- a/git2-fix-metadata.diff +++ b/git2-fix-metadata.diff @@ -1,12 +1,18 @@ ---- git2-0.18.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ git2-0.18.3/Cargo.toml 2024-09-30T10:34:46.623498+00:00 -@@ -51,9 +51,6 @@ +--- git2-0.19.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ git2-0.19.0/Cargo.toml 2024-10-29T17:01:33.028659+00:00 +@@ -44,15 +44,8 @@ + [dependencies.url] + version = "2.0" + +-[dev-dependencies.clap] +-version = "4.4.13" +-features = ["derive"] +- [dev-dependencies.tempfile] version = "3.1.0" - +- -[dev-dependencies.time] -version = "0.1.39" -- + [features] default = [ - "ssh", diff --git a/rust-git2.spec b/rust-git2.spec index 3225168..d432b03 100644 --- a/rust-git2.spec +++ b/rust-git2.spec @@ -5,7 +5,7 @@ %global crate git2 Name: rust-git2 -Version: 0.18.3 +Version: 0.19.0 Release: %autorelease Summary: Bindings to libgit2 for interoperating with git repositories @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/git2 Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop dependency on time ^0.1 which is only required for building examples +# * drop example-only dependencies (clap ^4, time ^0.1) Patch: git2-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/rust2rpm.toml b/rust2rpm.toml index fabb120..b68a46e 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,6 +1,6 @@ [package] cargo-toml-patch-comments = [ - "drop dependency on time ^0.1 which is only required for building examples", + "drop example-only dependencies (clap ^4, time ^0.1)", ] [features] diff --git a/sources b/sources index e797401..2b9d4c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (git2-0.18.3.crate) = f74221d0d96c36d9362c762185b6715f93adc78d5b4db89a3008a2baeb4bb05d5cee2f3c53f59fec97e9a690f82ac3a4f29a1633445f63c6137512255fed48a5 +SHA512 (git2-0.19.0.crate) = 9d868ba1594ace291002c4a10dcd43f192dbb8c2070abd74883e57a7f53825c7a29080ecbe4279f6c7ee845c261bcbc93b10004b99df27de41cd29bd48e137e8