From 1e33a022d6e7e513dfbe71d9dc3d4f2c1c29a72a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 7 Nov 2020 15:35:02 +0100 Subject: [PATCH] update to version 0.23.0 --- .gitignore | 1 + gimli-fix-metadata.diff | 30 ++++++++++++++++++++++++++++++ rust-gimli.spec | 17 +++++++++++++---- sources | 2 +- 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 gimli-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 3ca55bf..715e70d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /gimli-0.20.0.crate /gimli-0.21.0.crate /gimli-0.22.0.crate +/gimli-0.23.0.crate diff --git a/gimli-fix-metadata.diff b/gimli-fix-metadata.diff new file mode 100644 index 0000000..6d37218 --- /dev/null +++ b/gimli-fix-metadata.diff @@ -0,0 +1,30 @@ +--- gimli-0.23.0/Cargo.toml 2020-10-27T04:37:49+00:00 ++++ gimli-0.23.0/Cargo.toml 2020-11-07T14:27:25.997187+00:00 +@@ -42,19 +42,6 @@ + [[example]] + name = "dwarf-validate" + required-features = ["read", "std"] +-[dependencies.alloc] +-version = "1.0.0" +-optional = true +-package = "rustc-std-workspace-alloc" +- +-[dependencies.compiler_builtins] +-version = "0.1.2" +-optional = true +- +-[dependencies.core] +-version = "1.0.0" +-optional = true +-package = "rustc-std-workspace-core" + + [dependencies.fallible-iterator] + version = "0.2.0" +@@ -100,7 +87,6 @@ + default = ["read", "write", "std", "fallible-iterator", "endian-reader"] + endian-reader = ["stable_deref_trait"] + read = [] +-rustc-dep-of-std = ["core", "alloc", "compiler_builtins"] + std = ["fallible-iterator/std", "stable_deref_trait/std"] + write = ["indexmap"] + [badges.coveralls] diff --git a/rust-gimli.spec b/rust-gimli.spec index 40d4df0..54e835a 100644 --- a/rust-gimli.spec +++ b/rust-gimli.spec @@ -1,18 +1,22 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 +# * resolve circular dependency with object and addr2line %bcond_with check %global debug_package %{nil} %global crate gimli Name: rust-%{crate} -Version: 0.22.0 -Release: 2%{?dist} +Version: 0.23.0 +Release: 1%{?dist} Summary: Library for reading and writing the DWARF debugging format # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/gimli Source: %{crates_source} +# Initial patched metadata +# * drop dependencies on compiler internals +Patch0: gimli-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -22,7 +26,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -A library for reading and writing the DWARF debugging format.} +Library for reading and writing the DWARF debugging format.} %description %{_description} @@ -39,6 +43,7 @@ which use "%{crate}" crate. %license LICENSE-APACHE LICENSE-MIT %doc CHANGELOG.md CONTRIBUTING.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ +%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/{fixtures/,.github/,rustfmt.toml} %package -n %{name}+default-devel Summary: %{summary} @@ -156,6 +161,10 @@ find -type f -name '*.rs' -exec chmod -c -x '{}' '+' %endif %changelog +* Sat Nov 7 2020 Fabio Valentini - 0.23.0-1 +- Update to version 0.23.0. +- Fixes RHBZ#1891699 + * Wed Jul 29 2020 Fedora Release Engineering - 0.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 27d282c..8663fad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gimli-0.22.0.crate) = 71d806bb2e675ceed595a6367ae2d991f5a39cca89f371c393cc97d3c4c941e227faded1f83834e7599525aed821b91915268b500a4753fa002a898df79c399e +SHA512 (gimli-0.23.0.crate) = b5dce7b563ce7b8dd6cfec5258793323d370f217779d0d57265bbbe2b1eb2704dbf0f25c189ae6e9079989b6ac7d5341e10fe49457577e482a3904c745c89b5a