From b5c4352ec68ca8a1358c6903f9e62c1742ac4d63 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Jan 2025 17:19:15 +0100 Subject: [PATCH] Update to version 0.36.7; Fixes RHBZ#2333644 --- .gitignore | 1 + object-fix-metadata.diff | 14 +++++++------- rust-object.spec | 13 +++++++++---- sources | 2 +- 4 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 239cf03..7f970b8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /object-0.36.3.crate /object-0.36.4.crate /object-0.36.5.crate +/object-0.36.7.crate diff --git a/object-fix-metadata.diff b/object-fix-metadata.diff index a47958a..95b7008 100644 --- a/object-fix-metadata.diff +++ b/object-fix-metadata.diff @@ -1,18 +1,18 @@ ---- object-0.36.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ object-0.36.5/Cargo.toml 2024-10-04T17:04:08.995880+00:00 -@@ -98,11 +98,6 @@ +--- object-0.36.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ object-0.36.7/Cargo.toml 2025-01-03T16:17:20.343311+00:00 +@@ -100,11 +100,6 @@ version = "0.7.0" optional = true -[dependencies.wasmparser] --version = "0.218.0" +-version = "0.222.0" -optional = true -default-features = false - [features] all = [ "read", -@@ -110,7 +105,6 @@ +@@ -112,7 +107,6 @@ "build", "std", "compression", @@ -20,7 +20,7 @@ ] archive = [] build = [ -@@ -144,7 +138,6 @@ +@@ -146,7 +140,6 @@ "elf", "macho", "pe", @@ -28,7 +28,7 @@ "xcoff", ] elf = [] -@@ -174,7 +167,6 @@ +@@ -176,7 +169,6 @@ "all", "unstable", ] diff --git a/rust-object.spec b/rust-object.spec index e394cf5..5b7481a 100644 --- a/rust-object.spec +++ b/rust-object.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 26 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate object Name: rust-object -Version: 0.36.5 +Version: 0.36.7 Release: %autorelease Summary: Unified interface for reading and writing object file formats @@ -319,7 +319,12 @@ use the "xcoff" feature of the "%{crate}" crate. %if %{with check} %check # * skip tests that require files which are not included in published crates -%cargo_test -- -- --exact --skip read::coff::coff_extended_relocations --skip read::elf::get_buildid_bad_elf --skip read::elf::get_buildid_less_bad_elf --skip read::macho::test_go_macho +%{cargo_test -- -- --exact %{shrink: + --skip read::coff::coff_extended_relocations + --skip read::elf::get_buildid_bad_elf + --skip read::elf::get_buildid_less_bad_elf + --skip read::macho::test_go_macho +}} %endif %changelog diff --git a/sources b/sources index d8cf0ea..7c6e544 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (object-0.36.5.crate) = b85375ab3660a8a0c57833c28c4dc665dc0664857e1eb3cd472a61b9ec8c16c470b16475545c2c311fc23cb3c43755967f93feac12c7bfad013cfed5f879e355 +SHA512 (object-0.36.7.crate) = dd69172349ecf51fd2351d32cc4453760ca1d15e854a1cf5ed99112032901a54b4645b24163b946deed11f81d3e3035e1a5afd8bff20f335dbd05eceab073478