diff --git a/.gitignore b/.gitignore index 856e71e..eff80bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /gix-diff-0.35.0.crate /gix-diff-0.36.0.crate +/gix-diff-0.37.0.crate diff --git a/gix-diff-fix-metadata.diff b/gix-diff-fix-metadata.diff deleted file mode 100644 index acb679f..0000000 --- a/gix-diff-fix-metadata.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- gix-diff-0.36.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gix-diff-0.36.0/Cargo.toml 2023-10-05T21:01:18.179415+00:00 -@@ -40,12 +40,6 @@ - version = "0.2.0" - optional = true - --[dependencies.getrandom] --version = "0.2.8" --features = ["js"] --optional = true --default-features = false -- - [dependencies.gix-hash] - version = "^0.13.0" - -@@ -73,4 +67,3 @@ - "gix-hash/serde", - "gix-object/serde", - ] --wasm = ["dep:getrandom"] diff --git a/rust-gix-diff.spec b/rust-gix-diff.spec index e4949ff..0461ba8 100644 --- a/rust-gix-diff.spec +++ b/rust-gix-diff.spec @@ -1,20 +1,17 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate gix-diff Name: rust-gix-diff -Version: 0.36.0 +Version: 0.37.0 Release: %autorelease Summary: Calculate differences between various git objects License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-diff Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * Drop wasm feature as Fedora does not support building against wasm targets -Patch: gix-diff-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -87,7 +84,7 @@ use the "serde" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..ce797a4 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +# Drop wasm feature as Fedora does not support building against wasm targets +hide = ["wasm"] diff --git a/sources b/sources index a590824..4cccd31 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gix-diff-0.36.0.crate) = ff930fec398a55323b5341fac8c74f3d4bf8ff862da35f8ceedc699105943d5765bcf3c4c3247b6588e100360714c4b071f3aa6bef8a10f84ce8c7019addbb3f +SHA512 (gix-diff-0.37.0.crate) = 34cf3390d8d051d15a31383b20f718b5c071c6c7e96b13a7560a064983cbd9d071fbf3aead1a63ac351a23e1bb6c9753768037544f031ac54a1ee76b52ef1850